diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 90a20202..71876297 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -985,6 +985,12 @@ Consider all sites to be NSFW unless otherwise known. Favorites, Pools, Posts, Tag Searches + + Hypnohub + https://hypnohub.net/ + Favorites, Pools, Posts, Tag Searches + + Philomena Instances @@ -1051,12 +1057,6 @@ Consider all sites to be NSFW unless otherwise known. Pools, Popular Images, Posts, Tag Searches - - Hypnohub - https://hypnohub.net/ - Pools, Popular Images, Posts, Tag Searches - - Sakugabooru https://www.sakugabooru.com/ diff --git a/gallery_dl/extractor/gelbooru_v02.py b/gallery_dl/extractor/gelbooru_v02.py index 2dd0c0c8..bf9c9832 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): diff --git a/gallery_dl/extractor/moebooru.py b/gallery_dl/extractor/moebooru.py index 65b9a837..27ec929b 100644 --- a/gallery_dl/extractor/moebooru.py +++ b/gallery_dl/extractor/moebooru.py @@ -60,10 +60,6 @@ BASE_PATTERN = MoebooruExtractor.update({ "root": "https://konachan.com", "pattern": r"konachan\.(?:com|net)", }, - "hypnohub": { - "root": "https://hypnohub.net", - "pattern": r"hypnohub\.net", - }, "sakugabooru": { "root": "https://www.sakugabooru.com", "pattern": r"(?:www\.)?sakugabooru\.com", @@ -101,9 +97,6 @@ class MoebooruPostExtractor(MoebooruExtractor): }, }), ("https://konachan.net/post/show/205189"), - ("https://hypnohub.net/post/show/73964", { - "content": "02d5f5a8396b621a6efc04c5f8ef1b7225dfc6ee", - }), ("https://www.sakugabooru.com/post/show/125570"), ("https://lolibooru.moe/post/show/287835"), ) @@ -130,9 +123,6 @@ class MoebooruTagExtractor(MoebooruExtractor): "content": "838cfb815e31f48160855435655ddf7bfc4ecb8d", }), ("https://konachan.net/post?tags=patata"), - ("https://hypnohub.net/post?tags=gonoike_biwa", { - "url": "072330c34a1e773d0cafd00e64b8060d34b078b6", - }), ("https://www.sakugabooru.com/post?tags=nichijou"), ("https://lolibooru.moe/post?tags=ruu_%28tksymkw%29"), ) @@ -163,9 +153,6 @@ class MoebooruPoolExtractor(MoebooruExtractor): "content": "cf0546e38a93c2c510a478f8744e60687b7a8426", }), ("https://konachan.net/pool/show/95"), - ("https://hypnohub.net/pool/show/61", { - "url": "fd74991c8729e77acd3c35eb6ddc4128ff445adf", - }), ("https://www.sakugabooru.com/pool/show/54"), ("https://lolibooru.moe/pool/show/239"), ) @@ -198,10 +185,6 @@ class MoebooruPopularExtractor(MoebooruExtractor): }), ("https://konachan.com/post/popular_recent"), ("https://konachan.net/post/popular_recent"), - ("https://hypnohub.net/post/popular_by_month?month=6&year=2014", { - "count": 20, - }), - ("https://hypnohub.net/post/popular_recent"), ("https://www.sakugabooru.com/post/popular_recent"), ("https://lolibooru.moe/post/popular_recent"), )