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

Commit

Permalink
add jpg4.su support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Jan 4, 2024
1 parent 1d72ad4 commit 2fa510c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 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.36"
__version__ = "5.1.37"
2 changes: 1 addition & 1 deletion cyberdrop_dl/scraper/crawlers/jpgchurch_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class JPGChurchCrawler(Crawler):
def __init__(self, manager: Manager):
super().__init__(manager, "jpg.church", "JPGChurch")
self.primary_base_domain = URL("https://jpg3.su")
self.primary_base_domain = URL("https://jpg4.su")
self.request_limiter = AsyncLimiter(10, 1)

"""~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""
Expand Down
18 changes: 10 additions & 8 deletions cyberdrop_dl/scraper/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ def __init__(self, manager: Manager):
"imgur": self.imgur, "img.kiwi": self.imgwiki, "jpg.church": self.jpgchurch,
"jpg.homes": self.jpgchurch, "jpg.fish": self.jpgchurch, "jpg.fishing": self.jpgchurch,
"jpg.pet": self.jpgchurch, "jpeg.pet": self.jpgchurch, "jpg1.su": self.jpgchurch,
"jpg2.su": self.jpgchurch, "jpg3.su": self.jpgchurch, "kemono": self.kemono,
"leakedmodels": self.leakedmodels, "mediafire": self.mediafire, "nudostar.com": self.nudostar,
"nudostar.tv": self.nudostartv, "omegascans": self.omegascans, "pimpandhost": self.pimpandhost,
"pixeldrain": self.pixeldrain, "postimg": self.postimg, "reddit": self.reddit,
"redd.it": self.reddit, "redgifs": self.redgifs, "rule34.xxx": self.rule34xxx,
"rule34.xyz": self.rule34xyz, "saint": self.saint, "scrolller": self.scrolller,
"simpcity": self.simpcity, "socialmediagirls": self.socialmediagirls,
"toonily": self.toonily, "xbunker": self.xbunker, "xbunkr": self.xbunkr, "bunkr": self.bunkrr}
"jpg2.su": self.jpgchurch, "jpg3.su": self.jpgchurch, "jpg4.su": self.jpgchurch,
"kemono": self.kemono, "leakedmodels": self.leakedmodels, "mediafire": self.mediafire,
"nudostar.com": self.nudostar, "nudostar.tv": self.nudostartv, "omegascans": self.omegascans,
"pimpandhost": self.pimpandhost, "pixeldrain": self.pixeldrain, "postimg": self.postimg,
"reddit": self.reddit, "redd.it": self.reddit, "redgifs": self.redgifs,
"rule34.xxx": self.rule34xxx, "rule34.xyz": self.rule34xyz, "saint": self.saint,
"scrolller": self.scrolller, "simpcity": self.simpcity,
"socialmediagirls": self.socialmediagirls, "toonily": self.toonily, "xbunker": self.xbunker,
"xbunkr": self.xbunkr, "bunkr": self.bunkrr}
self.existing_crawlers = {}
self.no_crawler_downloader = Downloader(self.manager, "no_crawler")
self.jdownloader = JDownloader(self.manager)
Expand Down Expand Up @@ -136,6 +137,7 @@ async def jpgchurch(self) -> None:
self.existing_crawlers['jpg1.su'] = self.existing_crawlers['jpg.church']
self.existing_crawlers['jpg2.su'] = self.existing_crawlers['jpg.church']
self.existing_crawlers['jpg3.su'] = self.existing_crawlers['jpg.church']
self.existing_crawlers['jpg4.su'] = self.existing_crawlers['jpg.church']

async def kemono(self) -> None:
"""Creates a Kemono Crawler instance"""
Expand Down
2 changes: 1 addition & 1 deletion cyberdrop_dl/utils/dataclasses/supported_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SupportedDomains:
"e-hentai", "erome", "fapello", "f95zone", "gofile", "hotpic",
"ibb.co", "imageban", "imgbox", "imgur", "img.kiwi", "jpg.church",
"jpg.homes", "jpg.fish", "jpg.fishing", "jpg.pet", "jpeg.pet",
"jpg1.su", "jpg2.su", "jpg3.su", "kemono", "leakedmodels",
"jpg1.su", "jpg2.su", "jpg3.su", "jpg4.su", "kemono", "leakedmodels",
"mediafire", "nudostar.com", "nudostar.tv", "omegascans",
"pimpandhost", "pixeldrain", "postimg", "reddit", "redd.it",
"redgifs", "rule34.xxx", "rule34.xyz", "saint", "scrolller",
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.36"
version = "5.1.37"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 2fa510c

Please sign in to comment.