Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Support thotsbay attachments
Jules-WinnfieldX044d4c8107fb
diff --git a/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py b/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.pyindex 9e858f10a..0d1a61c3e 100644--- a/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py+++ b/cyberdrop_dl/utils/crawlers/Thotsbay_Spider.py@@ -109,6 +109,17 @@ class ThotsbayCrawler():link = "https:" + linkcontent_links.append(URL(link))+ attachments = soup.select("section[class=message-attachments]")+ for attachment_block in attachments:+ links = attachment_block.select("a[class='file-preview js-lbImage']")+ for link in links:+ link = link.get('href')+ if link.endswith("/"):+ link = link[:-1]+ if link.startswith('/'):+ link = URL("https://forum.thotsbay.com") / link[1:]+ Cascade.add_to_album("Thotsbay.com", "Attachments", link, url)+ShareX_urls, Chibisafe_urls, Erome_urls, GoFile_urls, Thotsbay_urls, Anonfile_urls = url_sort(content_links, Cascade)next_page = soup.select_one('pageNav-jump pageNav-jump--next')