1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[kemonoparty] fix 'dms' extraction (#3106)

This commit is contained in:
Mike Fährmann 2022-10-26 14:25:43 +02:00
parent f168ec9572
commit 77173694d5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -190,7 +190,7 @@ class KemonopartyExtractor(Extractor):
for dm in text.extract_iter(page, "<article", "</article>"):
dms.append({
"body": text.unescape(text.extract(
dm, '<pre>', '</pre></section>',
dm, "<pre>", "</pre></",
)[0].strip()),
"date": text.extract(dm, 'datetime="', '"')[0],
})