diff options
Diffstat (limited to 'gallery_dl/extractor/chevereto.py')
| -rw-r--r-- | gallery_dl/extractor/chevereto.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gallery_dl/extractor/chevereto.py b/gallery_dl/extractor/chevereto.py index 6ba4d08..67fdb39 100644 --- a/gallery_dl/extractor/chevereto.py +++ b/gallery_dl/extractor/chevereto.py @@ -50,6 +50,10 @@ BASE_PATTERN = CheveretoExtractor.update({ "root": "https://imagepond.net", "pattern": r"imagepond\.net", }, + "imglike": { + "root": "https://imglike.com", + "pattern": r"imglike\.com", + }, }) @@ -152,6 +156,18 @@ class CheveretoAlbumExtractor(CheveretoExtractor): yield Message.Queue, image, data +class CheveretoCategoryExtractor(CheveretoExtractor): + """Extractor for chevereto galleries""" + subcategory = "category" + pattern = BASE_PATTERN + r"(/category/[^/?#]+)" + example = "https://imglike.com/category/TITLE" + + def items(self): + data = {"_extractor": CheveretoImageExtractor} + for image in self._pagination(self.root + self.path): + yield Message.Queue, image, data + + class CheveretoUserExtractor(CheveretoExtractor): """Extractor for chevereto users""" subcategory = "user" |
