1 upvotes, 2 direct replies (showing 2)
View submission: Google Takeout Archives - Downloading ALL the zip files at once?
I wrote a script recently. Keep changing start. I would suggest to download 20-30 at once depending on the kind of computer and internet speed you got.
var l = document.links; var start = 1; var max = 20; var index = -1; for(var i = 0; i < l.length; i++) { if(l[i].href.indexOf("takeout.google.com/takeout/download") > -1) { var pathSplit = ("" + l[i].href).split("&"); var newIndex = -1; for(var j = 0; j < pathSplit.length; j++){ if(pathSplit[j].split("=")[0] == "i") { newIndex = pathSplit[j].split("=")[1]; break; } } if(newIndex != index) { index = newIndex; } else { console.log(index + " same index found. will skip"); continue; } if(index >= start && index < (start + max)) { console.log(index + ":" + i + ":" + l[i].href); window.open(l[i].href, '_blank'); } } }
Comment by bobby-jonson at 19/10/2024 at 20:27 UTC
1 upvotes, 1 direct replies
This seems so useful, but how do you use this script?
Comment by kub33k at 29/12/2024 at 18:04 UTC
1 upvotes, 0 direct replies
thank you! it helped a lot