You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
751 B
24 lines
751 B
8 months ago
|
# -*- 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://commons.wikimedia.org/wiki/File:Starr-050516-1367-Pimenta_dioica-flowers-Maunaloa-Molokai_(24762757525).jpg",
|
||
|
"#category": ("wikimedia", "wikimediacommons", "article"),
|
||
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://commons.wikimedia.org/wiki/Category:Network_maps_of_the_Paris_Metro",
|
||
|
"#category": ("wikimedia", "wikimediacommons", "category"),
|
||
|
"#class" : wikimedia.WikimediaCategoryExtractor,
|
||
|
},
|
||
|
|
||
|
)
|