Last active
February 17, 2022 09:14
-
-
Save hannah-scott/aae477a1468cabe9820cc2ac5e06ed28 to your computer and use it in GitHub Desktop.
Pulls all bought items on Bandcamp from your collection, for use with BandcampDownloader.
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
var urls = document.getElementsByClassName("item-link"); | |
var string = ""; | |
for (var url of urls) { | |
if (url.href) { | |
string += url + "\n"; | |
} | |
} | |
alert(string); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment