1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[foolfuuka] support 'archive.wakarimasen.moe' (closes #1595)

This commit is contained in:
Mike Fährmann 2021-06-02 15:45:43 +02:00
parent 78f89d2e61
commit 407627ec86
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 15 additions and 1 deletions

View File

@ -981,6 +981,12 @@ Consider all sites to be NSFW unless otherwise known.
<td>Boards, Search Results, Threads</td>
<td></td>
</tr>
<tr>
<td>Wakarimasen Archive</td>
<td>https://archive.wakarimasen.moe/</td>
<td>Boards, Search Results, Threads</td>
<td></td>
</tr>
<tr>
<td colspan="4"><strong>FoOlSlide Instances</strong></td>

View File

@ -90,7 +90,9 @@ BASE_PATTERN = FoolfuukaExtractor.update({
},
"thebarchive": {
"root": "https://thebarchive.com",
"pattern": r"thebarchive\.com",
},
"wakarimasen": {
"root": "https://archive.wakarimasen.moe",
},
})
@ -137,6 +139,9 @@ class FoolfuukaThreadExtractor(FoolfuukaExtractor):
("https://thebarchive.com/b/thread/739772332/", {
"url": "07d39d2cb48f40fb337dc992993d965b0cd5f7cd",
}),
("https://archive.wakarimasen.moe/a/thread/223157648/", {
"url": "fef0758d2eb81b1ba783051fd5ec491d70107a78",
}),
)
def __init__(self, match):
@ -175,6 +180,7 @@ class FoolfuukaBoardExtractor(FoolfuukaExtractor):
("https://archive.nyafuu.org/c/"),
("https://rbt.asia/g/"),
("https://thebarchive.com/b/"),
("https://archive.wakarimasen.moe/a/"),
)
def __init__(self, match):
@ -218,6 +224,7 @@ class FoolfuukaSearchExtractor(FoolfuukaExtractor):
("https://archive.nyafuu.org/_/search/text/test/"),
("https://rbt.asia/_/search/text/test/"),
("https://thebarchive.com/_/search/text/test/"),
("https://archive.wakarimasen.moe/a/search/text/test/"),
)
def __init__(self, match):

View File

@ -108,6 +108,7 @@ CATEGORY_MAP = {
"vidyart" : "/v/idyart",
"vk" : "VK",
"vsco" : "VSCO",
"wakarimasen" : "Wakarimasen Archive",
"webtoons" : "Webtoon",
"wikiart" : "WikiArt.org",
"worldthree" : "World Three",