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
627 B
24 lines
627 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://www.wikibooks.org/wiki/Title",
|
||
|
"#category": ("wikimedia", "wikibooks", "article"),
|
||
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://en.wikibooks.org/wiki/Category:Title",
|
||
|
"#category": ("wikimedia", "wikibooks", "category"),
|
||
|
"#class" : wikimedia.WikimediaCategoryExtractor,
|
||
|
},
|
||
|
|
||
|
)
|