diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 5c261649c..2b79433c8 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.2.13" \ No newline at end of file +__version__ = "5.2.13" diff --git a/cyberdrop_dl/scraper/crawlers/coomer_crawler.py b/cyberdrop_dl/scraper/crawlers/coomer_crawler.py index cdc37ad1e..02711dede 100644 --- a/cyberdrop_dl/scraper/crawlers/coomer_crawler.py +++ b/cyberdrop_dl/scraper/crawlers/coomer_crawler.py @@ -21,7 +21,7 @@ def __init__(self, manager: Manager): self.primary_base_domain = URL("https://coomer.su") self.ddos_guard_domain = URL("https://*.coomer.su") self.api_url = URL("https://coomer.su/api/v1") - self.request_limiter = AsyncLimiter(10, 1) + self.request_limiter = AsyncLimiter(4, 1) """~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~""" @@ -106,7 +106,6 @@ async def parse_datetime(self, date: str) -> int: date = datetime.datetime.strptime(date, "%Y-%m-%d %H:%M:%S") return calendar.timegm(date.timetuple()) - @error_handling_wrapper async def get_user_str_from_post(self, scrape_item: ScrapeItem) -> str: """Gets the user string from a scrape item""" async with self.request_limiter: @@ -114,7 +113,6 @@ async def get_user_str_from_post(self, scrape_item: ScrapeItem) -> str: user = soup.select_one("a[class=post__user-name]").text return user - @error_handling_wrapper async def get_user_str_from_profile(self, scrape_item: ScrapeItem) -> str: """Gets the user string from a scrape item""" async with self.request_limiter: diff --git a/pyproject.toml b/pyproject.toml index 42e534a65..32271520a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.2.13" +version = "5.2.14" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"