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

This commit is contained in:
Mike Fährmann
2024-02-29 21:50:24 +01:00
4 changed files with 29 additions and 0 deletions

View File

@@ -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>

View File

@@ -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",
},
})

View File

@@ -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",

View File

@@ -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,
},
)