Last active
September 11, 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
| a magnificent life 2025 | |
| backrooms 2026 | |
| best of the best 2026 | |
| bloody tennis 2026 | |
| call my agent the movie 2026 | |
| confinement 2026 | |
| cookie queens 2026 | |
| dark hollow 2026 | |
| drivers ed 2025 | |
| erupcja 2025 | |
| finding emily 2026 | |
| fuze 2025 | |
| goody goody 2026 | |
| hot spot 2026 | |
| i want your sex 2026 | |
| ice cream man 2026 | |
| in the grey 2026 | |
| it ends 2025 | |
| jackass 5 2026 | |
| just play dead 2026 | |
| lifehack 2025 | |
| lion fist 2026 | |
| marama 2025 | |
| mayday 2026 | |
| moana 2026 | |
| mutiny 2026 | |
| nightborn 2026 | |
| nimrods 2025 | |
| on the sea 2025 | |
| one last shot 2026 | |
| one night only 2026 | |
| parasomnia 2025 | |
| portal to hell 2025 | |
| power ballad 2026 | |
| rich flu 2024 | |
| romeria 2025 | |
| scary movie 2026 | |
| sheep in the box 2026 | |
| signal one 2026 | |
| star wars the mandalorian and grogu 2026 | |
| stop that train 2026 | |
| supergirl 2026 | |
| the brink of war 2026 | |
| the deputy 2026 | |
| the end of oak street 2026 | |
| the furious 2026 | |
| the girl in the river 2026 | |
| the love hypothesis 2026 | |
| the passenger 2026 | |
| the presidents cake 2025 | |
| the rivals of amziah king 2025 | |
| the runner 2026 | |
| the wrong girls 2026 | |
| tony 2026 | |
| toy story 5 2026 | |
| unabomber 2026 | |
| why did i get married again 2026 |
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