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