summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/gelbooru_v02.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-06-05 00:33:56 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-06-05 00:33:56 -0400
commit25442ea49f031d4d2df3353dd7e9ad2080e332da (patch)
tree14c2ee86b8d10cf0f79b4cd3ce8d6a34ebe52eba /gallery_dl/extractor/gelbooru_v02.py
parentad61a6d8122973534ab63df48f6090954bc73db6 (diff)
New upstream version 1.22.1.upstream/1.22.1
Diffstat (limited to 'gallery_dl/extractor/gelbooru_v02.py')
-rw-r--r--gallery_dl/extractor/gelbooru_v02.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/gallery_dl/extractor/gelbooru_v02.py b/gallery_dl/extractor/gelbooru_v02.py
index 2dd0c0c..bf9c983 100644
--- a/gallery_dl/extractor/gelbooru_v02.py
+++ b/gallery_dl/extractor/gelbooru_v02.py
@@ -133,6 +133,10 @@ INSTANCES = {
"root": "https://tbib.org",
"pattern": r"tbib\.org",
},
+ "hypnohub": {
+ "root": "https://hypnohub.net",
+ "pattern": r"hypnohub\.net",
+ },
}
BASE_PATTERN = GelbooruV02Extractor.update(INSTANCES)
@@ -159,6 +163,9 @@ class GelbooruV02TagExtractor(GelbooruV02Extractor):
("https://tbib.org/index.php?page=post&s=list&tags=yuyaiyaui", {
"count": ">= 120",
}),
+ ("https://hypnohub.net/index.php?page=post&s=list&tags=gonoike_biwa", {
+ "url": "fe662b86d38c331fcac9c62af100167d404937dc",
+ }),
)
def __init__(self, match):
@@ -188,6 +195,10 @@ class GelbooruV02PoolExtractor(GelbooruV02Extractor):
("https://realbooru.com/index.php?page=pool&s=show&id=1", {
"count": 3,
}),
+ ("https://hypnohub.net/index.php?page=pool&s=show&id=61", {
+ "url": "d314826280073441a2da609f70ee814d1f4b9407",
+ "count": 3,
+ }),
)
def __init__(self, match):
@@ -241,6 +252,9 @@ class GelbooruV02FavoriteExtractor(GelbooruV02Extractor):
("https://tbib.org/index.php?page=favorites&s=view&id=7881", {
"count": 3,
}),
+ ("https://hypnohub.net/index.php?page=favorites&s=view&id=43546", {
+ "count": 3,
+ }),
)
def __init__(self, match):
@@ -310,6 +324,11 @@ class GelbooruV02PostExtractor(GelbooruV02Extractor):
"url": "5a6ebe07bfff8e6d27f7c30b5480f27abcb577d2",
"content": "1c3831b6fbaa4686e3c79035b5d98460b1c85c43",
}),
+ ("https://hypnohub.net/index.php?page=post&s=view&id=73964", {
+ "pattern": r"https://hypnohub\.net/images/7a/37"
+ r"/7a37c0ba372f35767fb10c904a398831\.png",
+ "content": "02d5f5a8396b621a6efc04c5f8ef1b7225dfc6ee",
+ }),
)
def __init__(self, match):