Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: do not try to remove trailing slash from URLs with no path (#630)
NTFSvolumef05c13342455
diff --git a/cyberdrop_dl/scraper/crawler.py b/cyberdrop_dl/scraper/crawler.pyindex cc37dbd94..b73f88f92 100644--- a/cyberdrop_dl/scraper/crawler.py+++ b/cyberdrop_dl/scraper/crawler.py@@ -292,7 +292,7 @@ class Crawler(ABC):def remove_trailing_slash(url: URL) -> URL:- if url.name:+ if url.name or url.path == "/":return urlreturn url.parent.with_fragment(url.fragment).with_query(url.query)