Created
October 19, 2025 16:06
-
-
Save tarekeldeeb/3833d2facdee58dbcaace7bc61bfff3a to your computer and use it in GitHub Desktop.
JS> Automatic download all mp3 sources from audiomack creators page
This file contains hidden or 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
| ## Dev Console> https://creators.audiomack.com/dashboard/manage | |
| (async () => { | |
| const buttons = Array.from( | |
| document.querySelectorAll('button, a') | |
| ).filter(b => b.textContent.trim().toLowerCase().includes('download')); | |
| console.log(`Found ${buttons.length} download buttons`); | |
| for (const [i, b] of buttons.entries()) { | |
| console.log(`Downloading ${i + 1}/${buttons.length}: ${b.textContent.trim()}`); | |
| b.scrollIntoView({ behavior: "smooth", block: "center" }); | |
| b.click(); | |
| await new Promise(r => setTimeout(r, 5000)); // wait 5 seconds per file | |
| } | |
| console.log("✅ Done — all downloads triggered."); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment