Created
January 7, 2026 09:24
-
-
Save rodhfr/44f5c69adb7d5e6c05659fedf95c37fb to your computer and use it in GitHub Desktop.
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
| const links = Array.from(document.querySelectorAll('a[href$=".mp3"]')) | |
| .map(a => a.href) | |
| .join('\n'); | |
| const blob = new Blob([links], { type: 'text/plain' }); | |
| const url = URL.createObjectURL(blob); | |
| const a = document.createElement('a'); | |
| a.href = url; | |
| a.download = 'mp3-links.txt'; | |
| document.body.appendChild(a); | |
| a.click(); | |
| document.body.removeChild(a); | |
| URL.revokeObjectURL(url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment