-
-
Save virgiliu/eefbadef4de9d2ecb2e01020ae471892 to your computer and use it in GitHub Desktop.
// Run this in the content download page and it will trigger download for everything | |
var sleep = (milliseconds) => { | |
return new Promise(resolve => setTimeout(resolve, milliseconds)) | |
} | |
var waitTime = 1500; //ms | |
var x = $( "button:contains('Download')" ); | |
for(var i = 0; i < x.length ; i++) | |
{ | |
(function(idx) { | |
// Wait needed because browser blocks network calls if you make too many too fast | |
sleep(i * waitTime).then(() => { | |
x[idx].click(); | |
}); | |
})(i) | |
} | |
@InfiniteCanvas @Kawaru86 Thanks, it worked!
Hi all! I've update https://github.com/obsessedcake/gumroad-utils. If anyone interested, take a look 😄
@obsessedcake Thanks for building and sharing that. For me the original script was a one-time thing which I made public by mistake, but since people started talking I decided to leave it up even though I don't have the time to maintain it 😅
Can anyone please help me to download from the beginning and how to code it please.. that'd be great help thankyou
Hi all! I've update https://github.com/obsessedcake/gumroad-utils. If anyone interested, take a look 😄
I've tried using the library but can't download any files via the URL I'm getting an error
What is this error and is there any way to fix it
Hi all! I've update https://github.com/obsessedcake/gumroad-utils. If anyone interested, take a look 😄