mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
009aa90c3f
at least some of them
29 lines
909 B
Python
29 lines
909 B
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 wikimedia
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://bulbapedia.bulbagarden.net/wiki/Jet",
|
|
"#category": ("wikimedia", "bulbapedia", "article"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
"#pattern" : r"https://archives\.bulbagarden\.net/media/upload/\w+/\w+/[^/?#]+",
|
|
"#count" : range(10, 30),
|
|
},
|
|
|
|
{
|
|
"#url" : "https://archives.bulbagarden.net/wiki/File:0460Abomasnow-Mega.png",
|
|
"#category": ("wikimedia", "bulbapedia", "file"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
"#pattern" : r"https://archives\.bulbagarden\.net/media/upload/\w+/\w+/[^/?#]+",
|
|
"#count" : range(8, 12),
|
|
"#archive" : False,
|
|
},
|
|
|
|
)
|