Script that will downloads the entire manga from anchira.to and automatically downloads the latest manga if available. Cannot work anymore because the developer of anchira.to has spent a lot of effort to prevent automatic scraping. Maintaining the repo is difficult so I won't maintain it.
E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:60
this.#timeoutError = new Errors_js_1.TimeoutError(`Waiting failed: ${options.timeout}ms exceeded`);
^
TimeoutError: Waiting for selector article failed: Waiting failed: 30000ms exceeded
at new WaitTask (E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:60:34)
at IsolatedWorld.waitForFunction (E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Realm.js:35:26)
at PQueryHandler.waitFor (E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\common\QueryHandler.js:180:95)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async CdpFrame.waitForSelector (E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:511:21)
at async CdpPage.waitForSelector (E:\Anchira\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:1483:20)
at async scrapePage (E:\Anchira\build.js:5:3)
at async scrapeSite (E:\Anchira\build.js:28:5)