[webtoons] fix 'thumbnail' extraction (#8413)

This commit is contained in:
Mike Fährmann
2025-10-15 10:06:10 +02:00
parent 8c62be343e
commit 43448f7089

View File

@@ -131,7 +131,7 @@ class WebtoonsEpisodeExtractor(WebtoonsBase, GalleryExtractor):
def assets(self, page):
if self.config("thumbnails", False):
active = text.extr(page, 'class="on ', '</a>')
active = text.extr(page, 'class="on', '</a>')
url = _url(text.extr(active, 'data-url="', '"'))
return ({"url": url, "type": "thumbnail"},)