Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Merge Fixes for crawler into master (#278)
datawhoresdb2044a7e268
diff --git a/cyberdrop_dl/scraper/crawlers/celebforum_crawler.py b/cyberdrop_dl/scraper/crawlers/celebforum_crawler.pyindex 4c9577a49..56ed5cbbb 100644--- a/cyberdrop_dl/scraper/crawlers/celebforum_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/celebforum_crawler.py@@ -119,7 +119,7 @@ class CelebForumCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = int(post.select_one(self.post_date_selector).get(self.post_date_attribute))diff --git a/cyberdrop_dl/scraper/crawlers/f95zone_crawler.py b/cyberdrop_dl/scraper/crawlers/f95zone_crawler.pyindex 99b8c1606..f382cf26f 100644--- a/cyberdrop_dl/scraper/crawlers/f95zone_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/f95zone_crawler.py@@ -119,7 +119,7 @@ class F95ZoneCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = int(post.select_one(self.post_date_selector).get(self.post_date_attribute))diff --git a/cyberdrop_dl/scraper/crawlers/nudostar_crawler.py b/cyberdrop_dl/scraper/crawlers/nudostar_crawler.pyindex a876a4e76..3e132f74d 100644--- a/cyberdrop_dl/scraper/crawlers/nudostar_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/nudostar_crawler.py@@ -119,7 +119,7 @@ class NudoStarCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = int(post.select_one(self.post_date_selector).get(self.post_date_attribute))diff --git a/cyberdrop_dl/scraper/crawlers/simpcity_crawler.py b/cyberdrop_dl/scraper/crawlers/simpcity_crawler.pyindex 0822f1a8e..eaaeef58c 100644--- a/cyberdrop_dl/scraper/crawlers/simpcity_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/simpcity_crawler.py@@ -124,7 +124,7 @@ class SimpCityCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = Nonediff --git a/cyberdrop_dl/scraper/crawlers/socialmediagirls_crawler.py b/cyberdrop_dl/scraper/crawlers/socialmediagirls_crawler.pyindex 946ec57f1..ed63940b9 100644--- a/cyberdrop_dl/scraper/crawlers/socialmediagirls_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/socialmediagirls_crawler.py@@ -95,7 +95,8 @@ class SocialMediaGirlsCrawler(Crawler):scrape_item.children_limit = self.manager.config_manager.settings_data["Download_Options"]["maximum_number_of_children"][scrape_item.type]- post_sections = (scrape_item.url.parts[3], scrape_item.url.fragment)+ thread_index=scrape_item.url.parts.index("threads")+ post_sections = (scrape_item.url.parts[thread_index+1], scrape_item.url.fragment)if len(scrape_item.url.parts) > 3 and any("post-" in sec for sec in post_sections):url_parts = str(scrape_item.url).rsplit("post-", 1)thread_url = URL(url_parts[0].rstrip("#"))@@ -121,7 +122,7 @@ class SocialMediaGirlsCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = int(post.select_one(self.post_date_selector).get(self.post_date_attribute))diff --git a/cyberdrop_dl/scraper/crawlers/xbunker_crawler.py b/cyberdrop_dl/scraper/crawlers/xbunker_crawler.pyindex 4d43b380e..f2a1fa680 100644--- a/cyberdrop_dl/scraper/crawlers/xbunker_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/xbunker_crawler.py@@ -123,7 +123,7 @@ class XBunkerCrawler(Crawler):.split("/")[-1].split("post-")[-1],)- scrape_post, continue_scraping = await self.check_post_number(post_number, current_post_number)+ scrape_post, continue_scraping = self.check_post_number(post_number, current_post_number)if scrape_post:date = int(post.select_one(self.post_date_selector).get(self.post_date_attribute))