Fix MangaDex

This commit is contained in:
Techwolf 2021-09-25 21:08:02 -07:00
parent 71db0d5f32
commit 8a7476e81d

View file

@ -34,7 +34,7 @@ class MangaDex(_ParserScraper):
chapterBlock = chapterData.json()
chapterTotal = chapterBlock['total']
chapterOffset = chapterBlock['offset'] + chapterBlock['limit']
chapterList.extend(map(lambda c: c['data'], chapterBlock['results']))
chapterList.extend(chapterBlock['data'])
# Determine if manga is complete and/or adult
if manga['attributes']['lastChapter'] != '0':