summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/piczel.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
commitb8758ecd073910ce3220b2e68399147b425c37b8 (patch)
treed6aee20213508c8f425cbacb3d714367eca904c5 /gallery_dl/extractor/piczel.py
parente2f67519f8c1750a71aab3dc56b8345fff21bac5 (diff)
New upstream version 1.26.0.upstream/1.26.0
Diffstat (limited to 'gallery_dl/extractor/piczel.py')
-rw-r--r--gallery_dl/extractor/piczel.py34
1 files changed, 3 insertions, 31 deletions
diff --git a/gallery_dl/extractor/piczel.py b/gallery_dl/extractor/piczel.py
index 56c2978..422325f 100644
--- a/gallery_dl/extractor/piczel.py
+++ b/gallery_dl/extractor/piczel.py
@@ -68,10 +68,7 @@ class PiczelUserExtractor(PiczelExtractor):
"""Extractor for all images from a user's gallery"""
subcategory = "user"
pattern = r"(?:https?://)?(?:www\.)?piczel\.tv/gallery/([^/?#]+)/?$"
- test = ("https://piczel.tv/gallery/Bikupan", {
- "range": "1-100",
- "count": ">= 100",
- })
+ example = "https://piczel.tv/gallery/USER"
def __init__(self, match):
PiczelExtractor.__init__(self, match)
@@ -89,9 +86,7 @@ class PiczelFolderExtractor(PiczelExtractor):
archive_fmt = "f{folder[id]}_{id}_{num}"
pattern = (r"(?:https?://)?(?:www\.)?piczel\.tv"
r"/gallery/(?!image)([^/?#]+)/(\d+)")
- test = ("https://piczel.tv/gallery/Lulena/1114", {
- "count": ">= 4",
- })
+ example = "https://piczel.tv/gallery/USER/12345"
def __init__(self, match):
PiczelExtractor.__init__(self, match)
@@ -106,30 +101,7 @@ class PiczelImageExtractor(PiczelExtractor):
"""Extractor for individual images"""
subcategory = "image"
pattern = r"(?:https?://)?(?:www\.)?piczel\.tv/gallery/image/(\d+)"
- test = ("https://piczel.tv/gallery/image/7807", {
- "pattern": r"https://(\w+\.)?piczel\.tv/static/uploads/gallery_image"
- r"/32920/image/7807/1532236438-Lulena\.png",
- "content": "df9a053a24234474a19bce2b7e27e0dec23bff87",
- "keyword": {
- "created_at": "2018-07-22T05:13:58.000Z",
- "date": "dt:2018-07-22 05:13:58",
- "description": None,
- "extension": "png",
- "favorites_count": int,
- "folder_id": 1113,
- "id": 7807,
- "is_flash": False,
- "is_video": False,
- "multi": False,
- "nsfw": False,
- "num": 0,
- "password_protected": False,
- "tags": ["fanart", "commission", "altair", "recreators"],
- "title": "Altair",
- "user": dict,
- "views": int,
- },
- })
+ example = "https://piczel.tv/gallery/image/12345"
def __init__(self, match):
PiczelExtractor.__init__(self, match)