Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: download button new classname (fileditch) (#1629)
Barbarella6666666b10da37f5e74
diff --git a/cyberdrop_dl/crawlers/fileditch.py b/cyberdrop_dl/crawlers/fileditch.pyindex 11f2545b9..5b93603c8 100644--- a/cyberdrop_dl/crawlers/fileditch.py+++ b/cyberdrop_dl/crawlers/fileditch.py@@ -11,7 +11,7 @@ from cyberdrop_dl.utils.utilities import error_handling_wrapperif TYPE_CHECKING:from cyberdrop_dl.data_structures.url_objects import ScrapeItem-DOWNLOAD_SELECTOR = "a[class*='download-button']"+DOWNLOAD_SELECTOR = "a[class*='btn-download']"HOMEPAGE_CATCHALL_FILE = "/s21/FHVZKQyAZlIsrneDAsp.jpeg"PRIMARY_URL = AbsoluteHttpURL("https://fileditchfiles.me/")diff --git a/tests/crawlers/test_cases/fileditch.py b/tests/crawlers/test_cases/fileditch.pynew file mode 100644index 000000000..ebf086ea4--- /dev/null+++ b/tests/crawlers/test_cases/fileditch.py@@ -0,0 +1,15 @@+DOMAIN = "fileditch"+TEST_CASES = [+ (+ "https://fileditchfiles.me/file.php?f=/b71/FrmLzfLKUHBWDTQfqaTZ.mp4",+ [+ {+ "url": r"re:https://thegumonmyshoe.me/b71/FrmLzfLKUHBWDTQfqaTZ.mp4",+ "filename": "FrmLzfLKUHBWDTQfqaTZ.mp4",+ "referer": "https://fileditchfiles.me/file.php?f=/b71/FrmLzfLKUHBWDTQfqaTZ.mp4",+ "download_folder": r"re:Loose Files (Fileditch)",+ "datetime": None,+ },+ ],+ ),+]