web_programming.fetch_anime_and_play ==================================== .. py:module:: web_programming.fetch_anime_and_play Attributes ---------- .. autoapisummary:: web_programming.fetch_anime_and_play.BASE_URL web_programming.fetch_anime_and_play.anime_name Functions --------- .. autoapisummary:: web_programming.fetch_anime_and_play.get_anime_episode web_programming.fetch_anime_and_play.search_anime_episode_list web_programming.fetch_anime_and_play.search_scraper Module Contents --------------- .. py:function:: get_anime_episode(episode_endpoint: str) -> list [summary] Get click url and download url from episode url >>> type(get_anime_episode("/watch/kimetsu-no-yaiba/1")) Args: episode_endpoint (str): [Endpoint of episode] Raises: e: [description] Returns: [list]: [List of download and watch url] .. py:function:: search_anime_episode_list(episode_endpoint: str) -> list [summary] Take an url and return list of episodes after scraping the site for an url. >>> type(search_anime_episode_list("/anime/kimetsu-no-yaiba")) Args: episode_endpoint (str): [Endpoint of episode] Raises: e: [description] Returns: [list]: [List of episodes] .. py:function:: search_scraper(anime_name: str) -> list [summary] Take an url and return list of anime after scraping the site. >>> type(search_scraper("demon_slayer")) Args: anime_name (str): [Name of anime] Raises: e: [Raises exception on failure] Returns: [list]: [List of animes] .. py:data:: BASE_URL :value: 'https://ww1.gogoanime2.org' .. py:data:: anime_name