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

[gelbooru_v01] support some more boorus by default

- https://drawfriends.booru.org/
- https://vidyart.booru.org/
- https://tlb.booru.org/
This commit is contained in:
Mike Fährmann 2021-03-13 17:48:10 +01:00
parent 10c279f285
commit 72fe9ac0f3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
3 changed files with 32 additions and 2 deletions

View File

@ -792,11 +792,23 @@ Consider all sites to be NSFW unless otherwise known.
<td colspan="4"><strong>Gelbooru Beta 0.1.11</strong></td>
</tr>
<tr>
<td>Allgirlbooru</td>
<td>/v/idyart</td>
<td>https://vidyart.booru.org/</td>
<td>Posts, Tag Searches</td>
<td></td>
</tr>
<tr>
<td>All girl</td>
<td>https://allgirl.booru.org/</td>
<td>Posts, Tag Searches</td>
<td></td>
</tr>
<tr>
<td>Draw Friends</td>
<td>https://drawfriends.booru.org/</td>
<td>Posts, Tag Searches</td>
<td></td>
</tr>
<tr>
<td>Illusion Game Cards</td>
<td>https://illusioncards.booru.org/</td>
@ -809,6 +821,12 @@ Consider all sites to be NSFW unless otherwise known.
<td>Posts, Tag Searches</td>
<td></td>
</tr>
<tr>
<td>The Loud Booru</td>
<td>https://tlb.booru.org/</td>
<td>Posts, Tag Searches</td>
<td></td>
</tr>
<tr>
<td colspan="4"><strong>Gelbooru Beta 0.2</strong></td>

View File

@ -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):

View File

@ -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",