1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 04:02:32 +01:00

merge #5904: [dynastyscans] extract chapter 'tags'

This commit is contained in:
Mike Fährmann 2024-07-29 21:17:13 +02:00
commit 9c91935fe4
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 10 additions and 8 deletions

View File

@ -66,6 +66,8 @@ class DynastyscansChapterExtractor(DynastyscansBase, ChapterExtractor):
text.extr(group, ' alt="', '"')),
"date" : text.parse_datetime(extr(
'"icon-calendar"></i> ', '<'), "%b %d, %Y"),
"tags" : text.split_html(extr(
"class='tags'>", "<div id='chapter-actions'")),
"lang" : "en",
"language": "English",
}

View File

@ -12,16 +12,16 @@ __tests__ = (
"#url" : "http://dynasty-scans.com/chapters/hitoribocchi_no_oo_seikatsu_ch33",
"#category": ("", "dynastyscans", "chapter"),
"#class" : dynastyscans.DynastyscansChapterExtractor,
"#sha1_url" : "dce64e8c504118f1ab4135c00245ea12413896cb",
"#sha1_metadata": "b67599703c27316a2fe4f11c3232130a1904e032",
"#sha1_url" : "3cafa527fecec27a66f35e038c0c53e35d5e4317",
"#sha1_metadata": "7b134f2093813d45774cc68a3cd199ffce3e6fd3",
},
{
"#url" : "http://dynasty-scans.com/chapters/new_game_the_spinoff_special_13",
"#category": ("", "dynastyscans", "chapter"),
"#class" : dynastyscans.DynastyscansChapterExtractor,
"#sha1_url" : "dbe5bbb74da2edcfb1832895a484e2a40bc8b538",
"#sha1_metadata": "6b674eb3a274999153f6be044973b195008ced2f",
"#sha1_url" : "047fa6d58f90272883157a80fbf1e6f03ea5bbab",
"#sha1_metadata": "62dc42e9025c79bdd3e26e026a690f4c28548fd4",
},
{
@ -36,8 +36,8 @@ __tests__ = (
"#url" : "https://dynasty-scans.com/images?with[]=4930&with[]=5211",
"#category": ("", "dynastyscans", "search"),
"#class" : dynastyscans.DynastyscansSearchExtractor,
"#sha1_url" : "22cf0fb64e12b29e79b0a3d26666086a48f9916a",
"#sha1_metadata": "11cbc555a15528d25567977b8808e10369c4c3ee",
"#sha1_url" : "d2422163db7b1db94bf343f8cd50ba9cc08ae6b5",
"#sha1_metadata": "65f9948e7f29a1db2b3e6abb697f7476d2196708",
},
{
@ -52,8 +52,8 @@ __tests__ = (
"#url" : "https://dynasty-scans.com/images/1245",
"#category": ("", "dynastyscans", "image"),
"#class" : dynastyscans.DynastyscansImageExtractor,
"#sha1_url" : "15e54bd94148a07ed037f387d046c27befa043b2",
"#sha1_metadata": "0d8976c2d6fbc9ed6aa712642631b96e456dc37f",
"#sha1_url" : "877054defac8ea2bbaeb632db176037668c73eea",
"#sha1_metadata": "9f6fd139c372203dcf7237e662a80963ab070cb0",
},
)