From 5d9ec91896e12e5dc242d8d1a9c6a291ecee7277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 29 Feb 2024 21:49:13 +0100 Subject: [PATCH] [azurlanewiki] supportedsites + test --- docs/supportedsites.md | 6 ++++++ scripts/supportedsites.py | 1 + test/results/azurlanewiki.py | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 test/results/azurlanewiki.py diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 5814fc84..9b4c9a91 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1517,6 +1517,12 @@ Consider all listed sites to potentially be NSFW. Articles + + Azur Lane Wiki + https://azurlane.koumakan.jp/ + Articles + + Moebooru and MyImouto diff --git a/scripts/supportedsites.py b/scripts/supportedsites.py index 2a5f24ed..90637ca9 100755 --- a/scripts/supportedsites.py +++ b/scripts/supportedsites.py @@ -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", diff --git a/test/results/azurlanewiki.py b/test/results/azurlanewiki.py new file mode 100644 index 00000000..83f103b1 --- /dev/null +++ b/test/results/azurlanewiki.py @@ -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, +}, + +)