1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/94chan.py
2023-09-10 14:45:01 +02:00

46 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
from gallery_dl.extractor import jschan
__tests__ = (
{
"#url" : "https://94chan.org/art/thread/25.html",
"#category": ("jschan", "94chan", "thread"),
"#class" : jschan.JschanThreadExtractor,
"#pattern" : r"https://94chan.org/file/[0-9a-f]{64}(\.\w+)?",
"#count" : ">= 15",
},
{
"#url" : "https://94chan.org/art/",
"#category": ("jschan", "94chan", "board"),
"#class" : jschan.JschanBoardExtractor,
"#pattern" : jschan.JschanThreadExtractor.pattern,
"#count" : ">= 30",
},
{
"#url" : "https://94chan.org/art/2.html",
"#category": ("jschan", "94chan", "board"),
"#class" : jschan.JschanBoardExtractor,
},
{
"#url" : "https://94chan.org/art/catalog.html",
"#category": ("jschan", "94chan", "board"),
"#class" : jschan.JschanBoardExtractor,
},
{
"#url" : "https://94chan.org/art/index.html",
"#category": ("jschan", "94chan", "board"),
"#class" : jschan.JschanBoardExtractor,
},
)