This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(); |