diff --git a/gallery_dl/extractor/mangareader.py b/gallery_dl/extractor/mangareader.py
index 48c8358e..62575308 100644
--- a/gallery_dl/extractor/mangareader.py
+++ b/gallery_dl/extractor/mangareader.py
@@ -39,7 +39,6 @@ class MangaReaderExtractor(AsynchronousExtractor):
url = self.url_base + self.part
while True:
url, image_url, data = self.get_page_metadata(url)
- print(url)
if url is None:
return
yield Message.Directory, data
@@ -48,25 +47,30 @@ class MangaReaderExtractor(AsynchronousExtractor):
def get_page_metadata(self, page_url):
"""Collect next url, image-url and metadata for one manga-page"""
page = self.request(page_url).text
- descr , pos = self.extract(page, '', '', pos)
- print(page[pos:pos+3])
- if page[pos+1] != "a":
+ extr = self.extract
+ width = None
+ descr, pos = extr(page, '', '')
+ url, pos = extr(page, ' href="', '"', pos)
+ if width is None:
+ width , pos = extr(page, '