Last active
February 5, 2026 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('div', class_='wp-block-column is-layout-flow wp-block-column-is-layout-flow') | |
| hrefs = [] | |
| for element in title_elements: | |
| link_tag = element.find('a', href=True) | |
| if link_tag: | |
| hrefs.append(link_tag['href'].replace('https://whentostream.com/', '').strip('/')) | |
| return hrefs | |
| 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/streaming-{current_month}-{current_year}" | |
| titles = get_movie_titles(page_url) | |
| if titles: | |
| for link in sorted(set(titles)): | |
| print(link.replace('-', ' ')) | |
| else: | |
| print("Error.") |
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
| blue moon 2025 | |
| boys go to jupiter 2025 | |
| dead of winter 2025 | |
| east of wall 2025 | |
| ella mccay 2025 | |
| eternity 2025 | |
| good fortune 2025 | |
| hamnet 2025 | |
| honey bunch 2025 | |
| hurry up tomorrow 2025 | |
| in the blink of an eye 2026 | |
| kiss of the spider woman 2025 | |
| la grazia 2025 | |
| love brooklyn 2025 | |
| marty supreme 2025 | |
| mercy 2026 | |
| night patrol 2025 | |
| obex 2025 | |
| primate 2026 | |
| queen of chess 2026 | |
| relationship goals 2026 | |
| splitsville 2025 | |
| the astronaut 2025 | |
| the bluff 2026 | |
| the dreadful 2026 | |
| the dutchman 2025 | |
| the housemaid 2025 | |
| the huntsman 2026 | |
| the knife 2024 | |
| the plague 2025 | |
| the secret agent 2025 | |
| tyler perrys joes college road trip 2026 | |
| urchin 2025 | |
| violent ends 2025 | |
| we bury the dead 2026 | |
| young mothers 2025 |
Author
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/listshttps://gist.github.com/luckylittle/bf71571813c3e6388a44177acee213e5/raw/whentostream.txt