[koharu] updat root and root_api change

This commit is contained in:
K0ng2
2024-11-07 07:14:01 +00:00
committed by Mike Fährmann
parent c82f3db098
commit a09d9edaa6
2 changed files with 17 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ from gallery_dl.extractor import koharu
__tests__ = (
{
"#url" : "https://koharu.to/g/14216/6c67076fdd45",
"#url" : "https://niyaniya.moe/g/14216/6c67076fdd45",
"#category": ("", "koharu", "gallery"),
"#class" : koharu.KoharuGalleryExtractor,
"#pattern" : r"https://kisakisexo.xyz/download/59896/a4fbd1828229/f47639c6abaf1903dd69c36a3d961da84741a1831aa07a2906ce9c74156a5d75\?v=1721626410802&w=0",
@@ -48,7 +48,7 @@ __tests__ = (
},
{
"#url" : "https://koharu.to/g/14216/6c67076fdd45",
"#url" : "https://niyaniya.moe/g/14216/6c67076fdd45",
"#category": ("", "koharu", "gallery"),
"#class" : koharu.KoharuGalleryExtractor,
"#options" : {"cbz": False, "format": "780"},
@@ -57,7 +57,7 @@ __tests__ = (
},
{
"#url" : "https://koharu.to/g/14216/6c67076fdd45",
"#url" : "https://niyaniya.moe/g/14216/6c67076fdd45",
"#category": ("", "koharu", "gallery"),
"#class" : koharu.KoharuGalleryExtractor,
"#options" : {"cbz": False, "format": "780"},
@@ -72,13 +72,13 @@ __tests__ = (
},
{
"#url" : "https://koharu.to/reader/14216/6c67076fdd45",
"#url" : "https://niyaniya.moe/reader/14216/6c67076fdd45",
"#category": ("", "koharu", "gallery"),
"#class" : koharu.KoharuGalleryExtractor,
},
{
"#url" : "https://koharu.to/?s=tag:^beach$",
"#url" : "https://niyaniya.moe/?s=tag:^beach$",
"#category": ("", "koharu", "search"),
"#class" : koharu.KoharuSearchExtractor,
"#pattern" : koharu.KoharuGalleryExtractor.pattern,
@@ -86,24 +86,24 @@ __tests__ = (
},
{
"#url" : "https://koharu.to/favorites",
"#url" : "https://niyaniya.moe/favorites",
"#category": ("", "koharu", "favorite"),
"#class" : koharu.KoharuFavoriteExtractor,
"#pattern" : koharu.KoharuGalleryExtractor.pattern,
"#auth" : True,
"#urls" : [
"https://koharu.to/g/14216/6c67076fdd45",
"https://niyaniya.moe/g/14216/6c67076fdd45",
],
},
{
"#url" : "https://koharu.to/favorites?cat=6&sort=4",
"#url" : "https://niyaniya.moe/favorites?cat=6&sort=4",
"#category": ("", "koharu", "favorite"),
"#class" : koharu.KoharuFavoriteExtractor,
"#pattern" : koharu.KoharuGalleryExtractor.pattern,
"#auth" : True,
"#urls" : [
"https://koharu.to/g/14216/6c67076fdd45",
"https://niyaniya.moe/g/14216/6c67076fdd45",
],
},