Skip to content

Instantly share code, notes, and snippets.

@luckylittle
Last active November 14, 2025 01:10
Show Gist options
  • Select an option

  • Save luckylittle/99ceba6dd26bfe7bd83cf1c28032d39c to your computer and use it in GitHub Desktop.

Select an option

Save luckylittle/99ceba6dd26bfe7bd83cf1c28032d39c to your computer and use it in GitHub Desktop.

Revisions

  1. luckylittle revised this gist Nov 14, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ good fortune
    ice fall
    killing faith
    one battle after another
    regretting you
    roofman
    shelby oaks
    the smashing machine
  2. luckylittle revised this gist Nov 8, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    black phone 2
    deathstalker
    exit protocol
    good fortune
    ice fall
    killing faith
    one battle after another
    roofman
    shelby oaks
    the smashing machine
    v/h/s/halloween
  3. luckylittle revised this gist Nov 4, 2025. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,9 @@
    black phone 2
    deathstalker
    good fortune
    ice fall
    killing faith
    one battle after another
    roofman
    shelby oaks
    the smashing machine
  4. luckylittle revised this gist Nov 1, 2025. 1 changed file with 6 additions and 25 deletions.
    31 changes: 6 additions & 25 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,25 +1,6 @@
    a big bold beautiful journey
    afterburn
    beast of war
    bone lake
    christmas with the singhs
    dead of winter
    deck the walls
    freakier friday
    good boy
    guns & moses
    him
    home safe
    london calling
    our holiday story
    primitive war
    the conjuring: last rites
    the jester 2
    the long walk
    the roses
    the senior
    the strangers: chapter 2
    the threesome
    three wiser men and a boy
    twas the date before christmas
    xeno
    deathstalker
    ice fall
    killing faith
    one battle after another
    roofman
    the smashing machine
  5. luckylittle revised this gist Oct 30, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    a big bold beautiful journey
    afterburn
    beast of war
    bone lake
    christmas with the singhs
    dead of winter
    deck the walls
  6. luckylittle revised this gist Oct 29, 2025. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,14 @@
    a big bold beautiful journey
    afterburn
    beast of war
    christmas with the singhs
    dead of winter
    deck the walls
    freakier friday
    good boy
    guns & moses
    him
    home safe
    london calling
    our holiday story
    primitive war
  7. luckylittle revised this gist Oct 28, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@ guns & moses
    him
    london calling
    our holiday story
    primitive war
    the conjuring: last rites
    the jester 2
    the long walk
  8. luckylittle revised this gist Oct 23, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -17,3 +17,4 @@ the strangers: chapter 2
    the threesome
    three wiser men and a boy
    twas the date before christmas
    xeno
  9. luckylittle revised this gist Oct 22, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@ him
    london calling
    our holiday story
    the conjuring: last rites
    the jester 2
    the long walk
    the roses
    the senior
  10. luckylittle revised this gist Oct 21, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@ christmas with the singhs
    dead of winter
    deck the walls
    freakier friday
    guns & moses
    him
    london calling
    our holiday story
  11. luckylittle revised this gist Oct 17, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    a big bold beautiful journey
    beast of war
    christmas with the singhs
    dead of winter
    deck the walls
  12. luckylittle revised this gist Oct 16, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,8 @@ london calling
    our holiday story
    the conjuring: last rites
    the long walk
    the roses
    the senior
    the strangers: chapter 2
    the threesome
    three wiser men and a boy
  13. luckylittle revised this gist Oct 13, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -11,3 +11,4 @@ the long walk
    the strangers: chapter 2
    the threesome
    three wiser men and a boy
    twas the date before christmas
  14. luckylittle revised this gist Oct 12, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    a big bold beautiful journey
    christmas with the singhs
    dead of winter
    deck the walls
    freakier friday
    him
    london calling
    our holiday story
    the conjuring: last rites
    the long walk
    the strangers: chapter 2
  15. luckylittle revised this gist Oct 11, 2025. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    A Big Bold Beautiful Journey
    Christmas with the Singhs
    Dead of Winter
    Freakier Friday
    Him
    London Calling
    The Conjuring: Last Rites
    The Long Walk
    The Strangers: Chapter 2
    The Threesome
    Three Wiser Men and a Boy
    a big bold beautiful journey
    christmas with the singhs
    dead of winter
    freakier friday
    him
    london calling
    the conjuring: last rites
    the long walk
    the strangers: chapter 2
    the threesome
    three wiser men and a boy
  16. luckylittle revised this gist Oct 11, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dvdsreleasedates-digital.py
    Original file line number Diff line number Diff line change
    @@ -24,7 +24,7 @@ def extract_dvd_titles():
    title_link = cell.find('a', style='color:#000;')
    if title_link:
    title = title_link.get_text(strip=True)
    titles.append(title)
    titles.append(title.lower())

    titles = list(dict.fromkeys(titles))

  17. luckylittle created this gist Oct 10, 2025.
    49 changes: 49 additions & 0 deletions dvdsreleasedates-digital.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,49 @@
    #!/bin/python

    import requests
    from bs4 import BeautifulSoup

    def extract_dvd_titles():
    """
    Extracts DVD/Blu-ray titles from dvdsreleasedates.com for the current month
    """
    url = "https://www.dvdsreleasedates.com/digital-releases/"

    try:
    response = requests.get(url, headers={
    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.6850.0 Safari/537.36'
    })
    response.raise_for_status()

    soup = BeautifulSoup(response.content, 'html.parser')

    movie_cells = soup.find_all('td', class_='dvdcell')

    titles = []
    for cell in movie_cells:
    title_link = cell.find('a', style='color:#000;')
    if title_link:
    title = title_link.get_text(strip=True)
    titles.append(title)

    titles = list(dict.fromkeys(titles))

    return titles

    except requests.RequestException as e:
    print(f"Error fetching webpage: {e}")
    return []
    except Exception as e:
    print(f"Error parsing data: {e}")
    return []


    def main():
    titles = extract_dvd_titles()

    if titles:
    for title in sorted(titles):
    print(title)

    if __name__ == "__main__":
    main()
    11 changes: 11 additions & 0 deletions dvdsreleasedates-digital.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    A Big Bold Beautiful Journey
    Christmas with the Singhs
    Dead of Winter
    Freakier Friday
    Him
    London Calling
    The Conjuring: Last Rites
    The Long Walk
    The Strangers: Chapter 2
    The Threesome
    Three Wiser Men and a Boy