Repl Mass Download Tool (No install needed!)

Update 2.0.0 - EDU Version


This is merely a bookmarklet (only a few hundred characters long) with no graphql. If the moderators are still dissatisfied by this, feel free to reach out and I’ll promptly get rid of the bookmarklet.

To download your team repls, navigate to replit.com/team/your-team-name , then paste this into the browser console.

let queue = [];
for (let stack of Array.from(document.querySelectorAll(".stack")).filter((e,i)=>i%2==0)){
    for (let assignment of Array.from(Array.from(stack.children).at(-1).children).slice(1)){
        queue.push(assignment.children[0].children[0].children[0].children[0].children[1].children[0].children[0].href + ".zip");
    }
}
setInterval(()=>{window.open(queue.shift())}, 500);

Your browser should now start prompting you to download your repls (I intentionally delayed it so that the next repl would start downloading with a delay of 500ms).


Bookmarklet viersion

javascript:(function()%7Blet%20queue%20%3D%20%5B%5D%3Bfor%20(let%20stack%20of%20Array.from(document.querySelectorAll(%22.stack%22)).filter((e%2Ci)%3D%3Ei%252%3D%3D0))%7Bfor%20(let%20assignment%20of%20Array.from(Array.from(stack.children).at(-1).children).slice(1))%7Bqueue.push(assignment.children%5B0%5D.children%5B0%5D.children%5B0%5D.children%5B0%5D.children%5B1%5D.children%5B0%5D.children%5B0%5D.href%20%2B%20%22.zip%22)%3B%7D%7DsetInterval(()%3D%3E%7Bwindow.open(queue.shift())%7D%2C%20500)%7D)()
3 Likes