Last active
October 14, 2025 01:20
-
-
Save luckylittle/bf71571813c3e6388a44177acee213e5 to your computer and use it in GitHub Desktop.
AutoBrr List that contains release schedule from the website whentostream.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import datetime | |
import requests | |
from bs4 import BeautifulSoup | |
def get_movie_titles(url): | |
""" | |
Fetches a webpage and extracts movie titles from whentostream.com | |
Args: | |
page_url (str): The URL of the page to scrape. | |
Returns: | |
titles: A list of movie titles, or an empty list if an error occurs. | |
""" | |
try: | |
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 = requests.get(url, headers=headers, timeout=10) | |
response.raise_for_status() | |
except requests.exceptions.RequestException as e: | |
print(f"Error fetching the URL: {e}") | |
return [] | |
soup = BeautifulSoup(response.text, 'html.parser') | |
title_elements = soup.find_all('a', class_='list-item-content__button') | |
movie_titles = [] | |
for element in title_elements: | |
raw_title = element.get_text(strip=True) | |
if raw_title: | |
formatted_title = raw_title.lower().replace('(', '').replace(')', '') | |
movie_titles.append(formatted_title) | |
return movie_titles | |
if __name__ == "__main__": | |
now = datetime.datetime.now() | |
current_month = now.strftime("%B").lower() | |
current_year = now.year | |
# Construct the dynamic URL | |
page_url = f"https://www.whentostream.com/{current_month}-{current_year}-streaming" | |
titles = get_movie_titles(page_url) | |
if titles: | |
for title in sorted(titles): | |
print(title) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 acres 2024 | |
a big bold beautiful journey 2025 | |
a house of dynamite 2025 | |
a little prayer 2023 | |
aliens expanded 2024 | |
bad shabbos 2024 | |
ballad of a small player 2025 | |
beast of war 2025 | |
bonjour tristesse 2024 | |
bring her back 2025 | |
chain reactions 2024 | |
cloud 2024 | |
dead of winter 2025 | |
descendent 2025 | |
east of wall 2025 | |
fight or flight 2025 | |
freakier friday 2025 | |
gabby's dollhouse: the movie 2025 | |
good news 2025 | |
hedda 2025 | |
hell house llc: lineage 2025 | |
him 2025 | |
honey don't! 2025 | |
how to train your dragon 2025 | |
i know what you did last summer 2025 | |
john candy: i like me 2025 | |
jurassic world rebirth 2025 | |
love, brooklyn 2025 | |
lurker 2025 | |
maintenance required 2025 | |
marlee matlin: not alone anymore 2025 | |
mcveigh 2024 | |
play dirty 2025 | |
primitive war 2025 | |
riefenstahl 2024 | |
shell 2024 | |
sorry, baby 2025 | |
steve 2025 | |
stiller & meara: nothing is lost 2025 | |
the astronaut 2025 | |
the baltimorons 2025 | |
the conjuring: last rites 2025 | |
the hand that rocks the cradle 2025 | |
the jester 2 2025 | |
the long walk 2025 | |
the lost bus 2025 | |
the perfect neighbor 2025 | |
the pickup 2025 | |
the senior 2023 | |
the strangers: chapter 2 2025 | |
the summer book 2024 | |
the threesome 2025 | |
the twits 2025 | |
the unholy trinity 2024 | |
the woman in cabin 10 2025 | |
twinless 2025 | |
v/h/s/halloween 2025 | |
vicious 2025 | |
werewolves 2024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use this in AutoBrr?
https://<AUTOBRR_IP>:<AUTOBRR_PORT>/settings/lists
https://gist.github.com/luckylittle/bf71571813c3e6388a44177acee213e5/raw/whentostream.txt