Last active
July 20, 2026 18: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
| 72 hours 2026 | |
| a private life 2025 | |
| amorres perros 4k restoration 2026 | |
| anything that moves 2025 | |
| backrooms 2026 | |
| balls up 2026 | |
| black box 2026 | |
| blue heron 2025 | |
| chum 2026 | |
| cold storage 2026 | |
| decorado 2025 | |
| demon slayer kimetsu no yaiba infinity castle i 2025 | |
| disclosure day 2026 | |
| due west 2026 | |
| enola holmes 3 2026 | |
| exit 8 2025 | |
| faces of death 2026 | |
| find your friends 2025 | |
| girls like girls 2026 | |
| gregg allman the music of my soul 2026 | |
| heartstopper forever 2026 | |
| is god is 2026 | |
| jinsei 2025 | |
| lee cronins the mummy 2026 | |
| leviticus 2026 | |
| maddies secret 2026 | |
| man of war 2026 | |
| marc by sofia 2025 | |
| masters of the universe 2026 | |
| mile end kicks 2025 | |
| miroirs no 3 2025 | |
| mortal kombat ii 2026 | |
| nightborn 2026 | |
| nirvanna the band the show the movie 2025 | |
| obsession 2025 | |
| over your dead body 2026 | |
| passenger 2026 2 | |
| pressure 2026 | |
| project hail mary 2026 | |
| protector 2026 | |
| ready or not 2 here i come 2026 | |
| redux redux 2025 | |
| reminders of him 2026 | |
| saccharine 2026 | |
| scary movie 2026 | |
| star wars the mandalorian and grogu 2026 | |
| stop that train 2026 | |
| the bay 2026 | |
| the breadwinner 2026 | |
| the choral 2025 | |
| the devil wears prada 2 2026 | |
| the devils mouth 2026 | |
| the dink 2026 | |
| the drama 2026 | |
| the furious 2026 | |
| the gentleman thief 2026 | |
| the souffleur 2025 | |
| the super mario galaxy movie 2026 | |
| they fight 2026 | |
| unidentified 2025 | |
| wardriver 2026 | |
| wasteman 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