![]() |
|
Tutorial [Audiotool.com] How to download ANY music made by its community - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials) +--- Thread: Tutorial [Audiotool.com] How to download ANY music made by its community (/Thread-Tutorial-Audiotool-com-How-to-download-ANY-music-made-by-its-community) |
[Audiotool.com] How to download ANY music made by its community - miso - 03-28-2020 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 RE: [Audiotool.com] How to download ANY music made by its community - mothered - 03-28-2020 Quote:Other ways: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? RE: [Audiotool.com] How to download ANY music made by its community - miso - 03-28-2020 (03-28-2020, 03:41 AM)mothered Wrote:yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.Quote:Other ways:I've used this method a few times many years ago and for the most part, It worked well. 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 RE: [Audiotool.com] How to download ANY music made by its community - mothered - 03-28-2020 (03-28-2020, 03:43 AM)miso Wrote:Brilliant.(03-28-2020, 03:41 AM)mothered Wrote:yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work.Quote:Other ways:I've used this method a few times many years ago and for the most part, It worked well. The code Is very simple, so there should be no Issues when modifying It. Appreciate It. RE: [Audiotool.com] How to download ANY music made by its community - miso - 03-28-2020 (03-28-2020, 03:57 AM)mothered Wrote:unless they (for some reason) just change the file encoding and uses a custom one, then i'll be fucked lmao(03-28-2020, 03:43 AM)miso Wrote:Brilliant.(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.yes, it gets the metadata of a tag named 'track', unless they change the metadata name, the code will still work. RE: [Audiotool.com] How to download ANY music made by its community - mothered - 03-28-2020 (03-28-2020, 04:14 AM)miso Wrote:(03-28-2020, 03:57 AM)mothered Wrote:unless they (for some reason) just change the file encoding and uses a custom one, then i'll be fucked lmao(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.Brilliant. The probability of that happening anytime soon, Is quite slim. |