Skip to content

Commit

Permalink
[ao3] fix 'title' of restricted works (#6013)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Sep 21, 2024
1 parent 91eb04b commit 5c062f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gallery_dl/extractor/ao3.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ def items(self):
extr('<dd class="bookmarks">', "</dd>")).replace(",", "")),
"views" : text.parse_int(
extr('<dd class="hits">', "<").replace(",", "")),
"title" : text.unescape(
extr(' class="title heading">', "<").strip()),
"title" : text.unescape(text.remove_html(
extr(' class="title heading">', "</h2>")).strip()),
"author" : text.unescape(text.remove_html(
extr(' class="byline heading">', "</h3>"))),
"summary" : text.split_html(
Expand Down

0 comments on commit 5c062f9

Please sign in to comment.