Skip to content

Commit 6d8952b

Browse files
committed
remove temp files once done
1 parent 08309ce commit 6d8952b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ async function scrapeGuide(guide, browser, cookies, stylesheet) {
8686
let fn = async() => { await merger.save(path); };
8787
await ensureFileSize(fn, path);
8888
await page.close();
89+
await IO.remove(`${outputPath}/${title}/`);
8990
console.log(path);
9091
}
9192

0 commit comments

Comments
 (0)