The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
|
Tutorial [Audiotool.com] How to download ANY music made by its community
filter_list
|
|
|
Six Years of Service
Posts: 1,703
Threads: 497
[Audiotool.com] How to download ANY music made by its community 03-28-2020, 02:36 AM
#1
1: Select the music you want to download which has its download button blocked
2: Open the DevTools (via F12 / Ctrl+Shift+I), Go to the "Console" Tab and copy this code
Code:
function getMeta(metaName) {
 const metas = document.getElementsByTagName('meta');
 for (let i = 0; i < metas.length; i++) {
  if (metas[i].getAttribute('itemprop') === metaName) {
   return metas[i].getAttribute('content');
  }
 }
 return 'MP3 File Not Found :c';
}
console.log(getMeta('audio'));
Other ways:
- Add "/play.mp3" at the end of the URL |
Cons: If MP3 name gets changed, it won't work
- Search via 'view-source' |
Cons: Slow af
- Search via 'Source' tab in DevTools |
Cons: Slow af
References:
Original 'getMeta()' function :
StackOverflow Question 'How do I get the information from a meta tag with JavaScript'
Function edited by me
•
Thirteen Years of Service
Posts: 74,304
Threads: 317
RE: [Audiotool.com] How to download ANY music made by its community 03-28-2020, 03:41 AM
#2
Quote:Other ways:
- Add "/play.mp3" at the end of the URL
I've used this method a few times many years ago and for the most part, It worked well.
Does the above code work each and every time?
•
Six Years of Service
Posts: 1,703
Threads: 497
RE: [Audiotool.com] How to download ANY music made by its community 03-28-2020, 03:43 AM
#3
(03-28-2020, 03:41 AM)mothered Wrote: Quote:Other ways:
- Add "/play.mp3" at the end of the URL
I've used this method a few times many years ago and for the most part, It worked well.
Does the above code work each and every time?
yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.
if they even change the metadata tag name, it is really easy to change the code and make it work with the newer tag name
•
Thirteen Years of Service
Posts: 74,304
Threads: 317
RE: [Audiotool.com] How to download ANY music made by its community 03-28-2020, 03:57 AM
#4
(03-28-2020, 03:43 AM)miso Wrote: (03-28-2020, 03:41 AM)mothered Wrote: Quote:Other ways:
- Add "/play.mp3" at the end of the URL
I've used this method a few times many years ago and for the most part, It worked well.
Does the above code work each and every time?
yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.
if they even change the metadata tag name, it is really easy to change the code and make it work with the newer tag name
Brilliant.
The code Is very simple, so there should be no Issues when modifying It.
Appreciate It.
Six Years of Service
Posts: 1,703
Threads: 497
RE: [Audiotool.com] How to download ANY music made by its community 03-28-2020, 04:14 AM
#5
(03-28-2020, 03:57 AM)mothered Wrote: (03-28-2020, 03:43 AM)miso Wrote: (03-28-2020, 03:41 AM)mothered Wrote: I've used this method a few times many years ago and for the most part, It worked well.
Does the above code work each and every time?
yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.
if they even change the metadata tag name, it is really easy to change the code and make it work with the newer tag name
Brilliant.
The code Is very simple, so there should be no Issues when modifying It.
Appreciate It.
unless they (for some reason) just change the file encoding and uses a custom one, then i'll be fucked lmao
(This post was last modified: 03-28-2020, 04:14 AM by miso.)
•
Thirteen Years of Service
Posts: 74,304
Threads: 317
RE: [Audiotool.com] How to download ANY music made by its community 03-28-2020, 04:27 AM
#6
(03-28-2020, 04:14 AM)miso Wrote: (03-28-2020, 03:57 AM)mothered Wrote: (03-28-2020, 03:43 AM)miso Wrote: yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.
if they even change the metadata tag name, it is really easy to change the code and make it work with the newer tag name
Brilliant.
The code Is very simple, so there should be no Issues when modifying It.
Appreciate It.
unless they (for some reason) just change the file encoding and uses a custom one, then i'll be fucked lmao
The probability of that happening anytime soon, Is quite slim.
Users browsing this thread: