From 5c062f95c1b1393d6f90ec77a582d55169366355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 21 Sep 2024 13:21:45 +0200 Subject: [PATCH] [ao3] fix 'title' of restricted works (#6013) --- gallery_dl/extractor/ao3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/ao3.py b/gallery_dl/extractor/ao3.py index 88f73ac6..c0eea37d 100644 --- a/gallery_dl/extractor/ao3.py +++ b/gallery_dl/extractor/ao3.py @@ -176,8 +176,8 @@ class Ao3WorkExtractor(Ao3Extractor): extr('
', "
")).replace(",", "")), "views" : text.parse_int( extr('
', "<").replace(",", "")), - "title" : text.unescape( - extr(' class="title heading">', "<").strip()), + "title" : text.unescape(text.remove_html( + extr(' class="title heading">', "")).strip()), "author" : text.unescape(text.remove_html( extr(' class="byline heading">', ""))), "summary" : text.split_html(