merge #6956: [b4k] update domain to 'arch.b4k.dev' (#6955)

This commit is contained in:
Mike Fährmann
2025-02-09 11:13:06 +01:00
4 changed files with 16 additions and 9 deletions

View File

@@ -1638,8 +1638,8 @@ Consider all listed sites to potentially be NSFW.
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>arch.b4k.co</td> <td>arch.b4k.dev</td>
<td>https://arch.b4k.co/</td> <td>https://arch.b4k.dev/</td>
<td>Boards, Galleries, Search Results, Threads</td> <td>Boards, Galleries, Search Results, Threads</td>
<td></td> <td></td>
</tr> </tr>

View File

@@ -81,8 +81,8 @@ BASE_PATTERN = FoolfuukaExtractor.update({
"pattern": r"(?:www\.)?archiveofsins\.com", "pattern": r"(?:www\.)?archiveofsins\.com",
}, },
"b4k": { "b4k": {
"root": "https://arch.b4k.co", "root": "https://arch.b4k.dev",
"pattern": r"arch\.b4k\.co", "pattern": r"arch\.b4k\.(?:dev|co)",
}, },
"desuarchive": { "desuarchive": {
"root": "https://desuarchive.org", "root": "https://desuarchive.org",

View File

@@ -33,7 +33,7 @@ CATEGORY_MAP = {
"aryion" : "Eka's Portal", "aryion" : "Eka's Portal",
"atfbooru" : "ATFBooru", "atfbooru" : "ATFBooru",
"azurlanewiki" : "Azur Lane Wiki", "azurlanewiki" : "Azur Lane Wiki",
"b4k" : "arch.b4k.co", "b4k" : "arch.b4k.dev",
"baraag" : "baraag", "baraag" : "baraag",
"batoto" : "BATO.TO", "batoto" : "BATO.TO",
"bbc" : "BBC", "bbc" : "BBC",

View File

@@ -9,20 +9,27 @@ from gallery_dl.extractor import foolfuuka
__tests__ = ( __tests__ = (
{ {
"#url" : "https://arch.b4k.co/meta/thread/196/", "#url" : "https://arch.b4k.dev/meta/thread/196/",
"#category": ("foolfuuka", "b4k", "thread"), "#category": ("foolfuuka", "b4k", "thread"),
"#class" : foolfuuka.FoolfuukaThreadExtractor, "#class" : foolfuuka.FoolfuukaThreadExtractor,
"#sha1_url": "d309713d2f838797096b3e9cb44fe514a9c9d07a", "#urls" : "https://arch.b4k.dev/media/meta/image/1481/33/14813348737492.jpg",
}, },
{ {
"#url" : "https://arch.b4k.co/meta/", "#url" : "https://arch.b4k.co/meta/thread/196/",
"#category": ("foolfuuka", "b4k", "thread"),
"#class" : foolfuuka.FoolfuukaThreadExtractor,
"#urls" : "https://arch.b4k.dev/media/meta/image/1481/33/14813348737492.jpg",
},
{
"#url" : "https://arch.b4k.dev/meta/",
"#category": ("foolfuuka", "b4k", "board"), "#category": ("foolfuuka", "b4k", "board"),
"#class" : foolfuuka.FoolfuukaBoardExtractor, "#class" : foolfuuka.FoolfuukaBoardExtractor,
}, },
{ {
"#url" : "https://arch.b4k.co/meta/gallery/", "#url" : "https://arch.b4k.dev/meta/gallery/",
"#category": ("foolfuuka", "b4k", "gallery"), "#category": ("foolfuuka", "b4k", "gallery"),
"#class" : foolfuuka.FoolfuukaGalleryExtractor, "#class" : foolfuuka.FoolfuukaGalleryExtractor,
}, },