Home Music Articles Forums Blog Chat More...      

add to bookmarks
Prev Topic | Next Topic

Author
Posts
(Read 653 times)
DeputyDoofy
Forum Full Member


Registered: 02/09/04
Posts: 2273
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.
Skean
Forum Full Member


Registered: 03/20/08
Posts: 1618
Location: , Sweden
 
Re:Download your songs
Tuesday, October 09 2018 @ 04:04 PM CDT

One's again, thanks

I Almost Always Try to Think Positive Thoughts.
DeputyDoofy
Forum Full Member


Registered: 02/09/04
Posts: 2273
Location: Doofyville, Doofsylvania Doofstantine
 
Re:Download your songs
Tuesday, October 09 2018 @ 08:36 PM CDT

Quote by: Skean
One's again, thanks



You're welcome! Smile
SmokeyVW
Forum Full Member


Registered: 06/13/06
Posts: 7157
Location: N/A
 
Re:Download your songs
Wednesday, October 10 2018 @ 05:44 PM CDT

this is so precise. so cool.
DWL
Forum Full Member


Registered: 10/24/06
Posts: 1371
Location: Everywhere and nowhere baby ,
 
Re:Download your songs
Wednesday, October 17 2018 @ 01:52 PM CDT

I'm missing a trick here.

What page am I'm supposed to be on to do this?

My artist page or a song page?

When I right click on the song page I get "Back" "Stop" and "Print page"

When I right click on my artist page I get "Back", "Reload page", "Save page as", "Print page"

No "inspect element".

What am I doing wrong?

Thanks

Hanging in with the out crowd (All rights reserved)
SmokeyVW
Forum Full Member


Registered: 06/13/06
Posts: 7157
Location: N/A
 
Re:Download your songs
Friday, October 19 2018 @ 12:13 PM CDT

Quote by: DWL
... What page am I'm supposed to be on to do this? ...


artist page

Quote by: DWL
... No "inspect element". ...



it could be that your browser doesn't support developer commands. (just curious, what browser are you using?)

things to try:

use a different browser

look for a menu called something like "Developer" look for a menu pick like "Show Console"

davajonah
Forum Full Member


Registered: 09/22/04
Posts: 676
Location: Liverpool, UK
 
Re:Download your songs
Friday, October 19 2018 @ 01:43 PM CDT

Quote by: DWL
I'm missing a trick here.

What page am I'm supposed to be on to do this?

My artist page or a song page?

When I right click on the song page I get "Back" "Stop" and "Print page"

When I right click on my artist page I get "Back", "Reload page", "Save page as", "Print page"

No "inspect element".

What am I doing wrong?

Thanks


Dick, assuming you're using Safari, go to the menu bar and select: Safari/Preferences/Advanced and make sure you have the "Show Develop menu in menu bar" box selected. It should work then.

It's about time I changed this...
davajonah
Forum Full Member


Registered: 09/22/04
Posts: 676
Location: Liverpool, UK
 
Re:Download your songs
Friday, October 19 2018 @ 01:43 PM CDT

Bloody double post....

It's about time I changed this...
DWL
Forum Full Member


Registered: 10/24/06
Posts: 1371
Location: Everywhere and nowhere baby ,
 
Re:Download your songs
Saturday, October 20 2018 @ 02:32 AM CDT

See below... weird double post...

Hanging in with the out crowd (All rights reserved)
 
DWL
Forum Full Member


Registered: 10/24/06
Posts: 1371
Location: Everywhere and nowhere baby ,
 
Re:Download your songs
Saturday, October 20 2018 @ 02:33 AM CDT

Quote by: davajonah

Dick, assuming you're using Safari, go to the menu bar and select: Safari/Preferences/Advanced and make sure you have the "Show Develop menu in menu bar" box selected. It should work then.



Thanks Dave, that sorted it! Something else I've learned Smile

And thanks Mr Doofy Smile

Hanging in with the out crowd (All rights reserved)