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

pull/1633/head
Mike Fährmann 3 years ago
parent 78f89d2e61
commit 407627ec86
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

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

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

Loading…
Cancel
Save