Create a gist now

Instantly share code, notes, and snippets.

// http://pururin.com/browse/330/40/futanari.html
exec = require('execsync');
template =
"http://pururin.com/view/8727/#idx/a-certain-futanari-girls-masturbation-diary-chapter-3_#Idx.html"
for (var i=0; i<26; ++i) {
var idx = '0'+i;
url = template.replace('#idx', '0' + i)
.replace('#Idx', i+1);
html = exec('curl ' + url);
r = html.match(/<img class=.b. src="(.*jpg)" alt=/)
url = 'http://pururin.com' + r[1]
console.log('wget', url)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment