Skip to content

Bulk asynchronous downloader for multiple file hosts

fix SMGmedia bug.

Jules-WinnfieldXe618b82b24af
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index b405b0055..c06a7d65b 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.01.1"
+__version__ = "3.01.2"
diff --git a/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py b/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
index 519c90754..14d8f0c90 100644
--- a/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
+++ b/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
@@ -188,7 +188,11 @@ class SocialMediaGirlsCrawler:
for link_title_bundle in content_links:
link = link_title_bundle[0]
temp_title = link_title_bundle[1]
- tasks.append(self.scraping_mapper.map_url(link, temp_title))
+ in_prog_title = temp_title + "/Attachments"
+ if 'smgmedia' in link.host:
+ await cascade.add_to_album(url.host, in_prog_title, link, url)
+ else:
+ tasks.append(self.scraping_mapper.map_url(link, temp_title))
await asyncio.gather(*tasks)
next_page = soup.select_one('a[class="pageNav-jump pageNav-jump--next"]')