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

Commit

Permalink
Add support for jpg3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Oct 31, 2023
1 parent 07ad152 commit 65e7bff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.2.216"
__version__ = "4.2.217"
2 changes: 1 addition & 1 deletion cyberdrop_dl/base_functions/data_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ class SkipData:
"kemono.su", "lovefap", "nsfw.xxx", "pimpandhost", "pixeldrain",
"pixl.li", "postimg", "saint", "nudostar", "reddit", "simpcity",
"socialmediagirls", "xbunker", "xbunkr", "imgur", "redd.it",
"jpeg.pet", "jpg1.su", "jpg2.su", "redgifs")
"jpeg.pet", "jpg1.su", "jpg2.su", "jpg3.su", "redgifs")
sites: List[str]
2 changes: 1 addition & 1 deletion cyberdrop_dl/crawlers/ShareX_Spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def get_list_links(self, session: ScrapeSession, url: URL, title: str, dom
async with self.limiter:
soup = await session.get_BS4(url)
assert url.host is not None
if 'jpg.fish' in url.host or 'jpg.church' in url.host or 'jpg.pet' in url.host or 'jpeg.pet' in url.host or "jpg1.su" in url.host or "jpg2.su" in url.host:
if 'jpg.fish' in url.host or 'jpg.church' in url.host or 'jpg.pet' in url.host or 'jpeg.pet' in url.host or "jpg1.su" in url.host or "jpg2.su" in url.host or "jpg3.su" in url.host:
links = soup.select("a[href*=img] img")
else:
links = soup.select("a[href*=image] img")
Expand Down
2 changes: 1 addition & 1 deletion cyberdrop_dl/scraper/Scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self, args: Dict, client: Client, SQL_Helper: SQLHelper, quiet: boo
"hgamecg": self.HGameCG, "imgbox": self.ImgBox, "pixeldrain": self.PixelDrain,
"postimg": self.PostImg, "saint": self.Saint, "img.kiwi": self.ShareX, "imgur": self.Imgur,
"jpg.church": self.ShareX, "jpg.fish": self.ShareX, "jpg.pet": self.ShareX,
"jpg1.su": self.ShareX, "jpg2.su": self.ShareX, "jpeg.pet": self.ShareX, "pixl.li": self.ShareX,
"jpg1.su": self.ShareX, "jpg2.su": self.ShareX, "jpg3.su": self.ShareX, "jpeg.pet": self.ShareX, "pixl.li": self.ShareX,
"nsfw.xxx": self.NSFW_XXX, "pimpandhost": self.PimpAndHost, "lovefap": self.LoveFap,
"e-hentai": self.EHentai, "gallery.deltaporno": self.ShareX, "vk.com": self.vk_redirect,
"coomer.party": self.Coomeno, "coomer.su": self.Coomeno, "kemono.party": self.Coomeno,
Expand Down

0 comments on commit 65e7bff

Please sign in to comment.