From 44f490254429f7c70a413a1e65538f398a0274b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 27 Jan 2025 11:31:51 +0100 Subject: [PATCH] [toyhouse] fix metadata extraction - date - artists - characters --- gallery_dl/extractor/toyhouse.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/toyhouse.py b/gallery_dl/extractor/toyhouse.py index 44d87ee8..cee0d9dc 100644 --- a/gallery_dl/extractor/toyhouse.py +++ b/gallery_dl/extractor/toyhouse.py @@ -52,16 +52,18 @@ class ToyhouseExtractor(Extractor): return { "url": extr(needle, '"'), "date": text.parse_datetime(extr( - 'Credits\n\n
', '<'), + '\n
', '<'), "%d %b %Y, %I:%M:%S %p"), "artists": [ text.remove_html(artist) for artist in extr( - '
', '
\n
').split( - '
') + '
', + '
\n
').split( + '
') ], "characters": text.split_html(extr( - '
'))[2:], } def _pagination(self, path):