feat(scripts): live download progress and persisted request list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,7 +55,8 @@ await Promise.all(
|
||||
plugin.parseChapter(chapters[i].path),
|
||||
);
|
||||
bodies[i] = toXhtml(html);
|
||||
if (++done % 50 === 0 || done === chapters.length) {
|
||||
// Every 5 chapters: the request page shows this as live progress.
|
||||
if (++done % 5 === 0 || done === chapters.length) {
|
||||
process.stderr.write(` ${done}/${chapters.length}\n`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user