What about since I need to install python to run the script, do we un-install python after finishing the download. Just trying to free my computer of any bloatware and unnecessary storage. Thank you!
The odds of never needing python again are pretty low, but it’s up to you: only Windows doesn’t come with Python preinstalled, and honestly as someone who runs all kinds of fun coding side projects, I need python almost every other day, but you can just uninstall it if this is literally the only thing you needed it for.
That said, Python is not a concern if you’re worried about bloatware. It’s megabytes, not gigabytes. Nothing python could ever add is going to make a difference that you’re going to notice. Heck, your download directory is going to be more bloated than Python =D
Great script! It only errored out on downloading a pdf I had.
I’m wondering if we can download our Glitch lists? I made a number of lists as references for certain topics / technologies. Would love to still bee able to learn from them after the shutdown.
Unfortunately this solution only really works for projects that you own or have “ownership permissions” on, as it runs through a part of the API that lets you directly download the original project data, which (for both security and privacy reasons) means it needs user credentials. Other people’s projects cannot be downloaded this way.
Hi! I truly appreciate the bulk download option. I attempted to run it and ran into this error- let me know if I am doing anything wrong!
alextomlinson@Computer-Virus ~ % python3 download.py <redacted> <redacted>
Welcome to the Glitch.com bulk project downloader.
Fetching list of active projects...
Fetching active project list...
could not open https://api.glitch.com/v1/users/by/id/projects?id=646160&limit=1000
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>
Downloading 0 projects...
Fetching list of archived projects...
Fetching archived project list...
could not open https://api.glitch.com/v1/users/by/id/deletedProjects?id=646160&limit=1000
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>
Downloading 0 archived projects...
Thank you so much in advanced!
That’s a known issue, it’s a project with really old CDN links that no longer have valid SSL certificates, and the only way to make that work (right now) is to ignore SSL entirely. That’s pretty “you better be sure” but if you are, have a look at this comment about using a variant of the script that has an ssl bypass flag.
Get all your project with the regular script first, then delete the (hopefully few?) that had the hyperdev problem, and rerun the variant script with the ssl bypass flag. It’ll ignore everything you already downloaded, and only retry the ones you deleted.
this sounds like it’s unrelated to the old hyperdev cdn. vaguely sounds like the root certs on your computer aren’t set up right
the script work did not work for me and i dont know how to get it worked.
I attempted to use the updated flag script with flags and got the same error- so I agree it might not have to do with old CDN! Is root certs an issue with my machine? Would trying this on a different machine possibly work better? (Apologies for my extremely limited knowledge!)
“it didn’t work” unfortunately tells us nothing about what’s going wrong, so: if there are errors, please rememeber to show those errors, and talk about what you expected to happen and what happened instead if there are clear errors to show.
Which OS are you in? I did find https://stackoverflow.com/a/70495761/26722352 and I suspect there are linux/windows equivalents but I can’t say I’ve tried this of course.
This was my issue. Downloading my 891 projects now. Thank you SO much.
I can’t believe I have almost 1000 projects. Glitch just made it that simple to sketch out little web ideas. Such a bittersweet moment… I don’t think there will ever be another site quite like Glitch. Thank you again!
i literally lol’d