Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Fix some minor UI bugs, and update hosts
Jules-WinnfieldXf61a23345b86
diff --git a/cyberdrop_dl/ui/prompts/settings_user_prompts.py b/cyberdrop_dl/ui/prompts/settings_user_prompts.pyindex 136687508..880f78b6b 100644--- a/cyberdrop_dl/ui/prompts/settings_user_prompts.py+++ b/cyberdrop_dl/ui/prompts/settings_user_prompts.py@@ -272,22 +272,28 @@ def edit_ignore_options_prompt(config: Dict) -> None:for key in action:config["Ignore_Options"][key] = True+ skip_choices = list(SupportedDomains.supported_hosts)+ skip_choices.insert(0, "None")skip_hosts = inquirer.fuzzy(- choices=list(SupportedDomains.supported_hosts),+ choices=skip_choices,multiselect=True,message="Select any sites you want to ignore while scraping:",long_instruction="ARROW KEYS: Move | TYPE: Filter | TAB: Select | ENTER: Confirm",).execute()+ skip_hosts = [host for host in skip_hosts if host in SupportedDomains.supported_hosts]config["Ignore_Options"]["skip_hosts"] = skip_hosts+ only_choices = list(SupportedDomains.supported_hosts)+ only_choices.insert(0, "None")only_hosts = inquirer.fuzzy(- choices=list(SupportedDomains.supported_hosts),+ choices=only_choices,multiselect=True,message="Select only the sites you want to scrape from:",long_instruction="ARROW KEYS: Move | TYPE: Filter | TAB: Select | ENTER: Confirm",).execute()+ only_hosts = [host for host in only_hosts if host in SupportedDomains.supported_hosts]config["Ignore_Options"]["only_hosts"] = only_hostsdiff --git a/cyberdrop_dl/utils/dataclasses/supported_domains.py b/cyberdrop_dl/utils/dataclasses/supported_domains.pyindex 561222b11..0450f7d26 100644--- a/cyberdrop_dl/utils/dataclasses/supported_domains.py+++ b/cyberdrop_dl/utils/dataclasses/supported_domains.py@@ -5,13 +5,12 @@ from typing import ClassVar, Tuple, List@dataclassclass SupportedDomains:"""The allows options for domains to skip when scraping"""- supported_hosts: ClassVar[Tuple[str, ...]] = ("anonfiles", "bayfiles", "bunkr", "coomer.party", "coomer.su",- "cyberdrop", "cyberfile", "e-hentai", "erome", "fapello", "gfycat",- "gofile", "hgamecg", "img.kiwi", "imgbox", "jpg.church", "jpg.fish",- "jpg.fishing", "jpg.pet", "jpg1.su", "gallery.deltaporno.com",- "kemono.su", "lovefap", "nsfw.xxx", "pimpandhost", "pixeldrain",- "pixl.li", "postimg", "saint", "reddit", "xbunkr", "imgur", "redd.it",- "jpeg.pet", "redgifs", "kemono.party")+ supported_hosts: ClassVar[Tuple[str, ...]] = ("bunkr", "coomer", "coomer", "cyberdrop", "cyberfile", "e-hentai",+ "erome", "fapello", "gofile", "imgbox", "imgur", "img.kiwi", "jpg.church",+ "jpg.fish", "jpg.homes", "jpg.fishing", "jpg.pet", "jpeg.pet",+ "jpg1.su", "jpg2.su", "jpg3.su", "kemono", "pimpandhost",+ "pixeldrain", "postimg", "saint", "reddit", "redd.it", "redgifs",+ "xbunkr")supported_forums: ClassVar[Tuple[str, ...]] = ("nudostar.com", "simpcity.su", "forums.socialmediagirls.com","xbunker.nu")supported_forums_map = {"nudostar.com": "nudostar", "simpcity.su": "simpcity",