mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[ao3] fix 'title' of restricted works (#6013)
This commit is contained in:
parent
91eb04b0d0
commit
5c062f95c1
@ -176,8 +176,8 @@ class Ao3WorkExtractor(Ao3Extractor):
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user