Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix circular looping in SMG

Jules-WinnfieldX6808f35b03cb
diff --git a/README.md b/README.md
index 34142e5e5..c0aed652f 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# `cyberdrop-dl`
**Bulk downloader for multiple file hosts**
-The latest version of the program is 3.6.46
+The latest version of the program is 3.6.47
<a href="https://www.buymeacoffee.com/juleswinnft" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
@@ -112,7 +112,7 @@ optional arguments:
--jdownloader-password password to login to jdownloader
--jdownloader-device device to login to for jdownloader
--skip this removes the specified hosts links from downloads
- --ratelimit this will add a ratelimiter to requests made in the program, the number you provide is in seconds
+ --ratelimit this will add a ratelimiter to requests made in the program, the number you provide is in requests/second
--throttle this is a throttle between requests during the downloading phase, the number is in seconds
```
--skip can use: "anonfiles", "bayfiles", "bunkr", "coomer.party", "cyberdrop", "cyberfile", "erome", "gfycat", "gofile", "hgamescg",
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 57393598d..b61301937 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.6.46"
+__version__ = "3.6.47"
diff --git a/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py b/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
index d9ac909a4..4cac09213 100644
--- a/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
+++ b/cyberdrop_dl/crawlers/SocialMediaGirls_Spider.py
@@ -64,9 +64,11 @@ class SocialMediaGirlsCrawler:
async def parse_thread(self, session: Session, url: URL, cascade: CascadeItem, title: str):
try:
- soup = await session.get_BS4(url)
+ soup, url_return = await session.get_BS4_and_url(url)
domain = URL("https://" + url.host)
+ if url != url_return:
+ return
title_block = soup.select_one("h1[class=p-title-value]")
for elem in title_block.find_all("span"):