mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
ea553a1d55
- support mediawiki.org - support mariowiki.com (#3660) - combine code into a single extractor (use prefix as subcategory) - handle non-wiki instances - unescape titles
24 lines
629 B
Python
24 lines
629 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.wiktionary.org/wiki/Word",
|
|
"#category": ("wikimedia", "wiktionary", "article"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://en.wiktionary.org/wiki/Category:Words",
|
|
"#category": ("wikimedia", "wiktionary", "category"),
|
|
"#class" : wikimedia.WikimediaArticleExtractor,
|
|
},
|
|
|
|
)
|