mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
af61d2b037
add wikidata.org and wikivoyage.org
24 lines
622 B
Python
24 lines
622 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://www.wikidata.org/wiki/Title",
|
|
"#category": ("wikimedia", "wikidata", "article"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://en.wikidata.org/wiki/Category:Title",
|
|
"#category": ("wikimedia", "wikidata", "category"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
},
|
|
|
|
)
|