Skip to content

Instantly share code, notes, and snippets.

@cympfh
Created March 19, 2014 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cympfh/9641089 to your computer and use it in GitHub Desktop.
Save cympfh/9641089 to your computer and use it in GitHub Desktop.
// 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