summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/jschan.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/jschan.py
parente2f67519f8c1750a71aab3dc56b8345fff21bac5 (diff)
New upstream version 1.26.0.upstream/1.26.0
Diffstat (limited to 'gallery_dl/extractor/jschan.py')
-rw-r--r--gallery_dl/extractor/jschan.py17
1 files changed, 2 insertions, 15 deletions
diff --git a/gallery_dl/extractor/jschan.py b/gallery_dl/extractor/jschan.py
index fe758fa..398256d 100644
--- a/gallery_dl/extractor/jschan.py
+++ b/gallery_dl/extractor/jschan.py
@@ -31,12 +31,7 @@ class JschanThreadExtractor(JschanExtractor):
filename_fmt = "{postId}{num:?-//} {filename}.{extension}"
archive_fmt = "{board}_{postId}_{num}"
pattern = BASE_PATTERN + r"/([^/?#]+)/thread/(\d+)\.html"
- test = (
- ("https://94chan.org/art/thread/25.html", {
- "pattern": r"https://94chan.org/file/[0-9a-f]{64}(\.\w+)?",
- "count": ">= 15"
- })
- )
+ example = "https://94chan.org/a/thread/12345.html"
def __init__(self, match):
JschanExtractor.__init__(self, match)
@@ -71,15 +66,7 @@ class JschanBoardExtractor(JschanExtractor):
subcategory = "board"
pattern = (BASE_PATTERN + r"/([^/?#]+)"
r"(?:/index\.html|/catalog\.html|/\d+\.html|/?$)")
- test = (
- ("https://94chan.org/art/", {
- "pattern": JschanThreadExtractor.pattern,
- "count": ">= 30"
- }),
- ("https://94chan.org/art/2.html"),
- ("https://94chan.org/art/catalog.html"),
- ("https://94chan.org/art/index.html"),
- )
+ example = "https://94chan.org/a/"
def __init__(self, match):
JschanExtractor.__init__(self, match)