This does not work anymore.
After 9 months of operation, Replit has changed how their GraphQL endpoint works (presumably specifically to kill this project).
The time spent fixing it would not be worth it; though you can still download individual Repls as ZIP archives. They won't have edit history though.
How to get your Replit connect.sid token
Step 1 of 4
Go to replit.com, and sign in.