diff --git a/gallery_dl/extractor/thehentaiworld.py b/gallery_dl/extractor/thehentaiworld.py index e3c7adbe..055d7d81 100644 --- a/gallery_dl/extractor/thehentaiworld.py +++ b/gallery_dl/extractor/thehentaiworld.py @@ -111,7 +111,8 @@ class ThehentaiworldExtractor(Extractor): class ThehentaiworldPostExtractor(ThehentaiworldExtractor): subcategory = "post" - pattern = rf"{BASE_PATTERN}(/(?:hentai-image|video)s/([^/?#]+))" + pattern = (rf"{BASE_PATTERN}" + rf"(/(?:(?:3d-cgi-)?hentai-image|video)s/([^/?#]+))") example = "https://thehentaiworld.com/hentai-images/SLUG/" def posts(self): diff --git a/test/results/thehentaiworld.py b/test/results/thehentaiworld.py index 6cb4d9c5..f15bb4c6 100644 --- a/test/results/thehentaiworld.py +++ b/test/results/thehentaiworld.py @@ -173,6 +173,12 @@ __tests__ = ( "tags_origin" : ["Fairy Tail"], }, +{ + "#url" : "https://thehentaiworld.com/3d-cgi-hentai-images/ciri-and-shani-cekc-the-witcher-3/", + "#class" : thehentaiworld.ThehentaiworldPostExtractor, + "#results" : "https://thehentaiworld.com/wp-content/uploads/2025/08/Ciri-and-Shani-CEKC-The-Witcher-3-Hentai-3D-CGI.jpeg", +}, + { "#url" : "https://thehentaiworld.com/tag/aurahack/", "#class" : thehentaiworld.ThehentaiworldTagExtractor,