mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
009aa90c3f
at least some of them
50 lines
1.3 KiB
Python
50 lines
1.3 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 vichan
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://smuglo.li/a/res/1143245.html",
|
|
"#category": ("vichan", "smugloli", "thread"),
|
|
"#class" : vichan.VichanThreadExtractor,
|
|
"#pattern" : r"https://smug.+/a/src/\d+(-\d)?\.\w+",
|
|
"#count" : ">= 50",
|
|
|
|
"board" : "a",
|
|
"thread": "1143245",
|
|
"title": "Rabbit Rabbit Thread #4",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://smugloli.net/a/res/1145409.html",
|
|
"#category": ("vichan", "smugloli", "thread"),
|
|
"#class" : vichan.VichanThreadExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://smuglo.li/a",
|
|
"#category": ("vichan", "smugloli", "board"),
|
|
"#class" : vichan.VichanBoardExtractor,
|
|
"#pattern" : vichan.VichanThreadExtractor.pattern,
|
|
"#count" : ">= 100",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://smuglo.li/a/1.html",
|
|
"#category": ("vichan", "smugloli", "board"),
|
|
"#class" : vichan.VichanBoardExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://smugloli.net/cute/catalog.html",
|
|
"#category": ("vichan", "smugloli", "board"),
|
|
"#class" : vichan.VichanBoardExtractor,
|
|
},
|
|
|
|
)
|