def downloadChapter(self, downloadThread, max_pages, url, manga_chapter_prefix, current_chapter):
        pageIndex = 0
        pages = EatManga.re_getPage.findall(getSourceCode(url, self.proxy))

        #Remove duplicate pages if any and ensure order
        pages = list(OrderedDict.fromkeys(pages))

        for page in pages:
            if (self.verbose_FLAG):
                print(self.chapters[current_chapter][1] + ' | ' + 'Page %s / %i' + (page[1], max_pages))

            pageUrl = 'http://eatmanga.com%s' % page[0]
            self.downloadImage(downloadThread, page[1], pageUrl, manga_chapter_prefix)
            pageIndex = pageIndex + 1
dataset/ETHPy150Open jiaweihli/manga_downloader/src/parsers/eatmanga.py/EatManga.downloadChapter/operator `%` -> `+`