From 72fe9ac0f3f0dac14615a659c0bbb5a5747b02af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 13 Mar 2021 17:48:10 +0100 Subject: [PATCH] [gelbooru_v01] support some more boorus by default - https://drawfriends.booru.org/ - https://vidyart.booru.org/ - https://tlb.booru.org/ --- docs/supportedsites.md | 20 +++++++++++++++++++- gallery_dl/extractor/gelbooru_v01.py | 9 +++++++++ scripts/supportedsites.py | 5 ++++- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 134fda26..615f03e2 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -792,11 +792,23 @@ Consider all sites to be NSFW unless otherwise known. Gelbooru Beta 0.1.11 - Allgirlbooru + /v/idyart + https://vidyart.booru.org/ + Posts, Tag Searches + + + + All girl https://allgirl.booru.org/ Posts, Tag Searches + + Draw Friends + https://drawfriends.booru.org/ + Posts, Tag Searches + + Illusion Game Cards https://illusioncards.booru.org/ @@ -809,6 +821,12 @@ Consider all sites to be NSFW unless otherwise known. Posts, Tag Searches + + The Loud Booru + https://tlb.booru.org/ + Posts, Tag Searches + + Gelbooru Beta 0.2 diff --git a/gallery_dl/extractor/gelbooru_v01.py b/gallery_dl/extractor/gelbooru_v01.py index 09359987..541f454b 100644 --- a/gallery_dl/extractor/gelbooru_v01.py +++ b/gallery_dl/extractor/gelbooru_v01.py @@ -47,6 +47,9 @@ BASE_PATTERN = GelbooruV01Extractor.update({ "thecollection" : {"root": "https://the-collection.booru.org"}, "illusioncardsbooru": {"root": "https://illusioncards.booru.org"}, "allgirlbooru" : {"root": "https://allgirl.booru.org"}, + "drawfriends" : {"root": "https://drawfriends.booru.org"}, + "vidyart" : {"root": "https://vidyart.booru.org"}, + "theloudbooru" : {"root": "https://tlb.booru.org"}, }) @@ -70,6 +73,9 @@ class GelbooruV01TagExtractor(GelbooruV01Extractor): "range": "1-25", "count": 25, }), + ("https://drawfriends.booru.org/index.php?page=post&s=list&tags=all"), + ("https://vidyart.booru.org/index.php?page=post&s=list&tags=all"), + ("https://tlb.booru.org/index.php?page=post&s=list&tags=all"), ) def __init__(self, match): @@ -133,6 +139,9 @@ class GelbooruV01PostExtractor(GelbooruV01Extractor): "width": "1600" }, }), + ("https://drawfriends.booru.org/index.php?page=post&s=view&id=107474"), + ("https://vidyart.booru.org/index.php?page=post&s=view&id=383111"), + ("https://tlb.booru.org/index.php?page=post&s=view&id=127223"), ) def __init__(self, match): diff --git a/scripts/supportedsites.py b/scripts/supportedsites.py index 05d13048..4b503629 100755 --- a/scripts/supportedsites.py +++ b/scripts/supportedsites.py @@ -15,7 +15,7 @@ CATEGORY_MAP = { "2chan" : "Futaba Channel", "35photo" : "35PHOTO", "adultempire" : "Adult Empire", - "allgirl" : "All girl", + "allgirlbooru" : "All girl", "archivedmoe" : "Archived.Moe", "archiveofsins" : "Archive of Sins", "artstation" : "ArtStation", @@ -26,6 +26,7 @@ CATEGORY_MAP = { "bobx" : "BobX", "deviantart" : "DeviantArt", "dokireader" : "Doki Reader", + "drawfriends" : "Draw Friends", "dynastyscans" : "Dynasty Reader", "e621" : "e621", "erome" : "EroMe", @@ -95,8 +96,10 @@ CATEGORY_MAP = { "tbib" : "The Big ImageBoard", "thebarchive" : "The /b/ Archive", "thecollection" : "The /co/llection", + "theloudbooru" : "The Loud Booru", "tumblrgallery" : "TumblrGallery", "vanillarock" : "もえぴりあ", + "vidyart" : "/v/idyart", "vsco" : "VSCO", "webtoons" : "Webtoon", "wikiart" : "WikiArt.org",