Last active
May 8, 2026 15: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 great awakening 2026 | |
| a little something extra 2024 | |
| andre is an idiot 2025 | |
| arco 2025 | |
| beast 2026 | |
| bushido 2024 | |
| couples weekend 2025 | |
| dead mans wire 2025 | |
| drivers ed 2025 | |
| exit 8 2025 | |
| faces of death 2026 | |
| fantasy life 2025 | |
| giant 2025 | |
| goat 2026 | |
| greenland 2 migration 2026 | |
| hallow road 2025 | |
| kill bill the whole bloody affair 2025 | |
| ladies first 2026 | |
| lee cronins the mummy 2026 | |
| lorne 2026 | |
| marc by sofia 2025 | |
| marty life is short | |
| monkeys magic merry go round 2024 | |
| moss freud 2025 | |
| my best friends dead 2026 | |
| no place to be single 2026 | |
| normal 2025 | |
| palestine 36 2025 | |
| project hail mary 2026 | |
| propeller one way night coach 2026 | |
| ready or not 2 here i come 2026 | |
| remarkably bright creatures 2026 | |
| rosemead 2025 | |
| send help 2026 | |
| shelter 2026 | |
| smothered 2025 | |
| suburban fury 2024 | |
| swapped 2026 | |
| the ai doc or how i became an apocaloptimist 2026 | |
| the butchers blade 2026 | |
| the drama 2026 | |
| the last viking 2025 | |
| the legend of hei ii 2025 | |
| the love that remains 2025 | |
| the midway point 2024 | |
| the moment 2026 | |
| the mysterious gaze of the flamingo 2025 | |
| the stranger 2025 | |
| the super mario galaxy movie 2026 | |
| this is not a test 2025 | |
| tom clancys jack ryan ghost war 2026 | |
| two prosecutors 2025 | |
| wasteman 2025 | |
| we bury the dead 2026 | |
| whistle 2026 | |
| wuthering heights 2026 | |
| yes 2025 | |
| you me tuscany 2026 | |
| youre dating a narcissist 2025 | |
| zodiac killer project 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