Skip to content

Commit

Permalink
[kemonoparty] fix DMs extraction (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jan 25, 2022
1 parent 2bf554a commit a2eecc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gallery_dl/extractor/kemonoparty.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -180,7 +180,7 @@ def _extract_dms(self, post):
for dm in text.extract_iter(page, "<article", "</article>"):
dms.append({
"body": text.unescape(text.extract(
dm, '<div class="dm-card__content">', '</div>',
dm, '<pre>', '</pre></section>',
)[0].strip()),
"date": text.extract(dm, 'datetime="', '"')[0],
})
Expand Down

0 comments on commit a2eecc6

Please sign in to comment.