Last active
December 6, 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('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
| a savage art the life cartoons of pat oliphant 2025 | |
| afterburn 2025 | |
| architecton 2024 | |
| aztec batman clash of empires 2025 | |
| bau artist at war 2025 | |
| chainsaw man the movie reze arc 2025 | |
| christy 2025 | |
| cover up 2025 | |
| die my love 2025 | |
| eden 2024 | |
| eye for an eye 2025 | |
| f1 the movie 2025 | |
| goodbye june 2025 | |
| griffin in summer 2024 | |
| him 2025 | |
| influencers 2025 | |
| its never over jeff buckley 2025 | |
| jay kelly 2025 | |
| keeper 2025 | |
| koln 75 2025 | |
| little amelie or the character of rain 2025 2 | |
| man finds tape 2025 | |
| megadoc 2025 | |
| merv 2025 | |
| mission impossible the final reckoning 2025 | |
| modi 2024 | |
| muzzle city of wolves 2025 | |
| my secret santa 2025 | |
| ne zha ii 2025 | |
| now you see me now you dont 2025 | |
| oh what fun 2025 | |
| play dirty 2025 | |
| pose 2025 | |
| predators 2025 | |
| put your soul on your hand and walk 2025 | |
| queens of the dead 2025 | |
| reflection in a dead diamond 2025 | |
| relay 2024 | |
| roofman 2025 2 | |
| sarahs oil 2025 | |
| spinal tap ii the end continues 2025 | |
| strange harvest 2024 | |
| tapawingo 2025 | |
| the carpenters son 2025 | |
| the family mcmullen 2025 | |
| the great flood 2025 | |
| the jester 2 2025 | |
| the life of chuck 2024 | |
| the mastermind 2025 | |
| the merchants of joy 2025 | |
| the new yorker at 100 2025 | |
| the running man 2025 | |
| thieves highway 2025 | |
| together 2025 | |
| troll 2 2025 | |
| tron ares 2025 | |
| truth treason 2025 | |
| wake up dead man a knives out mystery 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