From a2eecc6aa86e4463f6bf85234fbc9cf22a669b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 25 Jan 2022 23:16:13 +0100 Subject: [PATCH] [kemonoparty] fix DMs extraction (#2008) --- gallery_dl/extractor/kemonoparty.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/kemonoparty.py b/gallery_dl/extractor/kemonoparty.py index f1d7bcf0..beb992c1 100644 --- a/gallery_dl/extractor/kemonoparty.py +++ b/gallery_dl/extractor/kemonoparty.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2021 Mike Fährmann +# Copyright 2021-2022 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -180,7 +180,7 @@ class KemonopartyExtractor(Extractor): for dm in text.extract_iter(page, ""): dms.append({ "body": text.unescape(text.extract( - dm, '
', '
', + dm, '
', '
', )[0].strip()), "date": text.extract(dm, 'datetime="', '"')[0], })