diff --git a/manga_dl/utilities/sites/madraNew.py b/manga_dl/utilities/sites/madraNew.py index 0147cdd..684e328 100644 --- a/manga_dl/utilities/sites/madraNew.py +++ b/manga_dl/utilities/sites/madraNew.py @@ -94,9 +94,14 @@ def get_chapter_images(self, chapter_url): nodes = soup.find_all("div", {"class": "reading-content"}) images = [] - for node in nodes: - url = node.img["data-src"] - images.append(url) + try: + for node in nodes: + url = node.img["data-src"] + images.append(url) + except (TypeError, KeyError): + for node in nodes: + url = node.img["src"] + images.append(url) return images