merge #5256: [wikimedia] add azurlane.koumakan.jp

pull/5270/head
Mike Fährmann 7 months ago
commit 32ec695195
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1517,6 +1517,12 @@ Consider all listed sites to potentially be NSFW.
<td>Articles</td>
<td></td>
</tr>
<tr>
<td>Azur Lane Wiki</td>
<td>https://azurlane.koumakan.jp/</td>
<td>Articles</td>
<td></td>
</tr>
<tr>
<td colspan="4"><strong>Moebooru and MyImouto</strong></td>

@ -162,6 +162,11 @@ BASE_PATTERN = WikimediaExtractor.update({
"pattern": r"(?:www\.)?pidgi\.net",
"api-path": "/wiki/api.php",
},
"azurlanewiki": {
"root": "https://azurlane.koumakan.jp",
"pattern": r"azurlane\.koumakan\.jp",
"api-path": "/w/api.php",
},
})

@ -30,6 +30,7 @@ CATEGORY_MAP = {
"artstation" : "ArtStation",
"aryion" : "Eka's Portal",
"atfbooru" : "ATFBooru",
"azurlanewiki" : "Azur Lane Wiki",
"b4k" : "arch.b4k.co",
"baraag" : "baraag",
"batoto" : "BATO.TO",

@ -0,0 +1,17 @@
# -*- 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://azurlane.koumakan.jp/wiki/Azur_Lane_Wiki",
"#category": ("wikimedia", "azurlanewiki", "article"),
"#class" : wikimedia.WikimediaArticleExtractor,
},
)
Loading…
Cancel
Save