Created
November 19, 2019 17:21
-
-
Save angeloped/0f08194c3c0e3739475290085a12b070 to your computer and use it in GitHub Desktop.
The bandcamp pirates. ;P
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
/* | |
* title: The bandcamp pirates. | |
* coded by: Bryan Angelo Pedrosa | |
* date: 19 November 2019 | |
*/ | |
/* to download album (free version) */ | |
window.location=TralbumData["freeDownloadPage"] | |
/* to download current track (all)*/ | |
document.location=TralbumData["trackinfo"][0]["file"]["mp3-128"] | |
/* select which music you wanna download; '<n>' is the array index of music on the tracklist (all) */ | |
document.location=TralbumData["trackinfo"][<n>]["file"]["mp3-128"] | |
/* bypass expiration checkpoint of a single track; will only play the song in the background haha (all) */ | |
fr=document.createElement("iframe");fr.src=TralbumData["trackinfo"][0]["file"]["mp3-128"];document.body.appendChild(fr) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment