Closed MysticSaba-max closed 5 days ago
The goal of this project is to go from content (an episode) to the use of the content (downloading or watching). So the link shouldn't be shown. But if you explain, your use case, I may see your point.
Also if you want to suggest a code change, use a PR. You can do so by clicking on the link on the top of your repository and clicking on the green button.
Oh okay I didn't know about that
Do you want to open the links in a browser or use another downloader? I am a bit curious. I've never considered using links directly, but maybe you're thinking of something I haven't thought of.
PS: If my previous message changes your mind about the usefulness of this.. Just respond "no, it's good like that" or something around those lines.
replace main.py by : import asyncio
from termcolor import colored
import config import downloader import internal_player from utils import safe_input, select_one, select_range, put_color, keyboard_inter from anime_sama import AnimeSama
async def main(): catalogues = await AnimeSama(config.URL).search( safe_input("Anime name: " + put_color("blue"), str) ) catalogue = select_one(catalogues)
if name == "main": try: asyncio.run(main()) except (KeyboardInterrupt, asyncio.exceptions.CancelledError, EOFError): keyboard_inter()
or git clone https://github.com/MysticSaba-max/anime-sama_get-episode-links