Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
e-hentai fix for warnings on /s/
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Mar 4, 2024
1 parent 4441ec8 commit 8467ac9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.78"
__version__ = "5.1.79"
5 changes: 2 additions & 3 deletions cyberdrop_dl/scraper/crawlers/ehentai_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ async def fetch(self, scrape_item: ScrapeItem) -> None:
"""Determines where to send the scrape item based on the url"""
task_id = await self.scraping_progress.add_task(scrape_item.url)

if not self.warnings_set:
await self.set_no_warnings(scrape_item)

if "g" in scrape_item.url.parts:
if not self.warnings_set:
await self.set_no_warnings(scrape_item)
await self.album(scrape_item)
elif "s" in scrape_item.url.parts:
await self.image(scrape_item)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.1.78"
version = "5.1.79"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 8467ac9

Please sign in to comment.