Last active
August 15, 2026 21: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 poet 2025 | |
| above below 2026 | |
| all night wrong 2026 | |
| another world 2025 | |
| atlas king 2026 | |
| batman knightfall part 1 knightfall | |
| beast 2026 | |
| big baby 2026 | |
| billie eilish hit me hard and soft the tour live in 3d | |
| buffet infinity 2026 | |
| bury the devil 2026 | |
| busboys 2026 | |
| couture 2025 | |
| deep water 2026 | |
| desert warrior 2025 | |
| dont say good luck 2026 | |
| evil dead burn 2026 | |
| gail daughtry and the celebrity sex pass 2026 | |
| girls like girls 2026 | |
| hadestown the musical 2026 | |
| hamlet 2025 | |
| hellcat 2025 | |
| her private hell 2026 | |
| horsegirls 2025 | |
| i swear 2025 | |
| ip man kung fu legend 2026 | |
| jackass 5 2026 | |
| lifehack 2025 | |
| lockbox 2026 | |
| lucky strike 2026 | |
| mary oliver saved by the beauty of the world 2026 | |
| michael 2026 | |
| minions monsters 2026 | |
| mother mary 2026 | |
| motor city 2025 | |
| night nurse 2026 | |
| normal 2025 | |
| our hero balthazar 2025 | |
| passenger 2026 2 | |
| penny lane is dead 2025 | |
| peter 2026 | |
| peter asher everywhere man 2025 | |
| reading lolita in tehran 2024 | |
| romeria 2025 | |
| rose of nevada 2025 | |
| rosebush pruning 2026 | |
| she dances 2025 | |
| solo mio 2026 | |
| soulm8te 2026 | |
| the boy from below 2025 | |
| the christophers 2025 | |
| the deb 2026 | |
| the fence 2025 | |
| the gates 2026 | |
| the invite 2026 | |
| the isolate thief 2026 | |
| the last house 2026 | |
| the last sunrise 2026 | |
| the run 2025 | |
| the whisper man 2026 | |
| the yeti 2026 | |
| time and water 2026 | |
| tom clancys jack ryan ghost war 2026 | |
| tow 2025 | |
| toy story 5 2026 | |
| untitled home invasion romance 2025 | |
| yellow eyes 2026 | |
| you me tuscany 2026 | |
| young washington 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