[ao3] fix 'title' of restricted works (#6013)
This commit is contained in:
@@ -176,8 +176,8 @@ class Ao3WorkExtractor(Ao3Extractor):
|
|||||||
extr('<dd class="bookmarks">', "</dd>")).replace(",", "")),
|
extr('<dd class="bookmarks">', "</dd>")).replace(",", "")),
|
||||||
"views" : text.parse_int(
|
"views" : text.parse_int(
|
||||||
extr('<dd class="hits">', "<").replace(",", "")),
|
extr('<dd class="hits">', "<").replace(",", "")),
|
||||||
"title" : text.unescape(
|
"title" : text.unescape(text.remove_html(
|
||||||
extr(' class="title heading">', "<").strip()),
|
extr(' class="title heading">', "</h2>")).strip()),
|
||||||
"author" : text.unescape(text.remove_html(
|
"author" : text.unescape(text.remove_html(
|
||||||
extr(' class="byline heading">', "</h3>"))),
|
extr(' class="byline heading">', "</h3>"))),
|
||||||
"summary" : text.split_html(
|
"summary" : text.split_html(
|
||||||
|
|||||||
Reference in New Issue
Block a user