Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var website = "http://shiroyukitranslations.com/lls-chapter-";
// <a href="http://shiroyukitranslations.com/long-live-summons/#tabs_desc_8329_4">Team</a>
var fs = require('fs');
var stream = fs.createWriteStream("my_file.txt");
stream.once('open', function(fd) {
for(i=1; i<465; i++) {
stream.write('<a href="'+website+i+'">'+'Chapter '+i+'</a>'+"\n");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.