Skip to content

Bulk asynchronous downloader for multiple file hosts

Remove title tags from thotsbay forum folders.

Jules-WinnfieldX014a6f9fd049
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 3dd577eb2..a918b0a58 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -13,4 +13,7 @@ Change all funcs to be async
2.15.0
Created scraper_helper.py
--> we now only create the scrapers as needed, and it allows me to pass backwards the thotsbay links, cleaning up the code.
\ No newline at end of file
+-> we now only create the scrapers as needed, and it allows me to pass backwards the thotsbay links, cleaning up the code.
+
+2.16.5
+Removed title tags from thotsbay folder names.
\ No newline at end of file
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index d3270b5d5..ab9fae395 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "2.16.4"
+__version__ = "2.16.5"
diff --git a/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py b/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py
index 50aad4e41..aef27e8ef 100644
--- a/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py
+++ b/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py
@@ -74,10 +74,14 @@ class ThotsbayCrawler():
domain = URL("https://" + url.host)
+ title_block = soup.select_one("h1[class=p-title-value]")
+ for elem in title_block.find_all("a"):
+ elem.decompose()
+
if title:
pass
else:
- title = soup.find('title').text
+ title = title_block.text
if self.include_id:
titlep2 = url.name
titlep2 = [s for s in titlep2 if "." in s][-1]