[myhentaigallery] recognize '/g/' URLs (#4920)

This commit is contained in:
Mike Fährmann
2023-12-12 20:02:28 +01:00
parent da76e13e3b
commit a37b7759bc
2 changed files with 10 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ from gallery_dl.extractor import myhentaigallery
__tests__ = (
{
"#url" : "https://myhentaigallery.com/gallery/thumbnails/16247",
"#url" : "https://myhentaigallery.com/g/16247",
"#category": ("", "myhentaigallery", "gallery"),
"#class" : myhentaigallery.MyhentaigalleryGalleryExtractor,
"#pattern" : r"https://images\.myhentaicomics\.com/mhg/images/[^/]+/original/\d+\.jpg",
@@ -23,6 +23,12 @@ __tests__ = (
"title" : "Attack Of The 50ft Woman 1",
},
{
"#url" : "https://myhentaigallery.com/gallery/thumbnails/16247",
"#category": ("", "myhentaigallery", "gallery"),
"#class" : myhentaigallery.MyhentaigalleryGalleryExtractor,
},
{
"#url" : "https://myhentaigallery.com/gallery/show/16247/1",
"#category": ("", "myhentaigallery", "gallery"),