Home Music Articles Forums Blog Chat More...      

add to bookmarks
Prev Topic | Next Topic

Author
Posts
(Read 194 times)
DeputyDoofy
Forum Full Member


Registered: 02/09/04
Posts: 2272
Location: Doofyville, Doofsylvania Doofstantine
 
Download your songs
Wednesday, August 15 2018 @ 05:35 PM CDT

At Smokey's suggestion, here's a separate thread regarding how to download your songs a bit quicker.

Ok, with a little javascript, I was able to turn all song page links into song download links. It made the process slightly more bearable, especially because I have so much stuff out here. For those interested, here's the trick.

1) Right-click anywhere on the page and "inspect element."

2) Click on the Console tab and go to the command-line area that will let you type stuff.

3) Type: a = document.getElementsByTagName("a"); Then press return.

4) Type: for (var i = 0; i < a.length; i++) { if (a[i].href.indexOf("song/") >= 0) a[i].href = a[i].href.replace("song/", "lab/get_download.php?lid="); } Then press return.

Copy and paste the bold commands. You don't have to type it. Razz

That's it. All the song links on that page are now the download links (until you refresh the page or go to a different page). If you go to a different page or refresh the page by mistake, simply go back into the console's command line and press the up arrow to cycle through previously entered commands.