Last active
December 29, 2022 23:29
-
-
Save lifofernandez/500dea6de7e9417ffa5508a354d1b18e to your computer and use it in GitHub Desktop.
Tracks download
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
w3m -dump BEATPORT_CHAR_URL | grep -A 10 "• \[" | grep -v -e '^$' | sed 's/--//g' | sed 's/ //g' | sed 's/• //g' > SALIDA.txt | |
cat SALIDA.txt | grep -A 3 "\[" | grep -v "\[" > SALIDA.clean.txt | |
cat SALIDA.clean.txt | grep -B 2 "-" | sed -z 's/--\n--\n/\n/g' >> SALIDA.clean2.txt |
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
youtube-dl -a LISTA.txt --default-search ytsearch -x --audio-format mp3 --download-archive bajados | |
youtube-dl -a LISTA.txt --default-search ytsearch -x --audio-format mp3 --continue --ignore-errors --no-overwrites --download-archive bajados.txt | |
awk -F ' - ' '{print , }' LISTA.txt >> LISTAclean.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment