Skip to content

Bulk asynchronous downloader for multiple file hosts

Restyled by autopep8

Restyled.ioba5564af84ca
diff --git a/cyberdrop_dl/scraper/crawlers/rule34vault_crawler.py b/cyberdrop_dl/scraper/crawlers/rule34vault_crawler.py
index 3bad6baf0..ae24c22a1 100644
--- a/cyberdrop_dl/scraper/crawlers/rule34vault_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/rule34vault_crawler.py
@@ -118,7 +118,8 @@ class Rule34VaultCrawler(Crawler):
image = soup.select_one('img[class*="img ng-star-inserted"]')
if image:
- link = image.get("src").replace(".small", "").replace(".thumbnail", "")
+ link = image.get("src").replace(
+ ".small", "").replace(".thumbnail", "")
if link.startswith("/"):
link = f"{self.primary_base_url}{link}"
link = URL(link)
@@ -126,7 +127,8 @@ class Rule34VaultCrawler(Crawler):
await self.handle_file(link, scrape_item, filename, ext)
video = soup.select_one("video source")
if video:
- link = video.get("src").replace(".small", "").replace(".thumbnail", "")
+ link = video.get("src").replace(
+ ".small", "").replace(".thumbnail", "")
if link.startswith("/"):
link = f"{self.primary_base_url}{link}"
link = URL(link)