Skip to content

Instantly share code, notes, and snippets.

View itswzyss's full-sized avatar
💭
Hard at work.

Wzyss itswzyss

💭
Hard at work.
View GitHub Profile
@itswzyss
itswzyss / gumroad_bulk_download.js
Last active May 14, 2024 10:42
Bulk Download Gumroad Library
// In light of the TOS change at Gumroad, I've modified a script by @Fhurai that will categorize all the download links with their
// original asset page. In order to use this, navigate to https://app.gumroad.com/library and open your DevTools. Then paste the
// following code into the Console. See more info at https://blog.wzyss.dev/easily-archive-your-gumroad-library/
async function fetchUrls(link) {
// Fetch and process URLs from the given link
return fetch(link)
.then(res => res.text())
.then(text => {
let parser = new DOMParser();