Last active
November 15, 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
| 2000 meters to andriivka 2025 | |
| a merry little ex mas 2025 | |
| a very jonas christmas movie 2025 | |
| abrahams boys a dracula story 2025 | |
| anniversary 2025 | |
| are we good 2025 | |
| being eddie 2025 | |
| beyond the gaze julie campbells swimsuit issue 2024 | |
| black phone 2 2025 | |
| boys go to jupiter 2025 | |
| bride hard 2025 | |
| bull run 2025 | |
| bunny 2025 | |
| champagne problems 2025 | |
| come see me in the good light 2025 | |
| deathstalker 2025 | |
| downton abbey the grand finale 2025 | |
| dream eater 2025 | |
| eddington 2025 | |
| fairyland 2025 2 | |
| finding joy 2025 | |
| frankenstein 2025 | |
| freakier friday 2025 | |
| good boy 2025 | |
| good fortune 2025 | |
| if i had legs id kick you 2025 | |
| in your dreams 2025 | |
| jane austen wrecked my life 2024 | |
| jingle bell heist 2025 | |
| kiss of the spider woman 2025 | |
| left handed girl 2025 | |
| lesbian space princess 2025 | |
| materialists 2025 | |
| mr k 2024 | |
| nobody 2 2025 | |
| nouvelle vague 2025 | |
| oh hi 2025 | |
| one battle after another 2025 | |
| one to one john yoko 2024 | |
| orwell 2 2 5 2025 | |
| osiris 2025 | |
| plainclothes 2025 | |
| playdate 2025 | |
| preparation for the next life 2025 | |
| queens of the dead 2025 | |
| regretting you 2025 | |
| roofman 2025 2 | |
| she rides shotgun 2025 | |
| soul on fire 2025 | |
| sovereign 2025 | |
| stitch head 2025 | |
| the apprentice 2024 | |
| the bad guys 2 2025 | |
| the baltimorons 2025 | |
| the conjuring last rites 2025 | |
| the cut 2024 | |
| the family plan 2 2025 | |
| the fantastic four first steps 2025 | |
| the history of sound 2025 | |
| the roses 2025 | |
| the smashing machine 2025 | |
| train dreams 2025 | |
| truth treason 2025 | |
| violent ends 2025 | |
| waltzing with brando 2024 | |
| wick is pain 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