From 6ce310d865218db8ccfbf4cf932943d73ad39cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 19 Jan 2025 18:14:03 +0100 Subject: [PATCH] [weebcentral] fix extraction (#6860) --- gallery_dl/extractor/weebcentral.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gallery_dl/extractor/weebcentral.py b/gallery_dl/extractor/weebcentral.py index 39f998a8278..fc1badbbb30 100644 --- a/gallery_dl/extractor/weebcentral.py +++ b/gallery_dl/extractor/weebcentral.py @@ -80,12 +80,12 @@ def images(self, page): results = [] while True: - src = extr(' src="', '"') + src = extr('src="', '"') if not src: break results.append((src, { - "width" : text.parse_int(extr(' width="' , '"')), - "height": text.parse_int(extr(' height="', '"')), + "width" : text.parse_int(extr('width="' , '"')), + "height": text.parse_int(extr('height="', '"')), })) return results