Script gets stuck at the first item
a37h opened this issue · 2 comments
Basically, script successfully downloads the first track fully and then stops for some reason.
Stdout looks like:
$ bash download.sh playlist.m3u output_dir/
1/920 Downloading TheFatRat feat. Laura Brehm - MAYDAY
^C
Any ideas on why that may be happening?
(I would prefer to show you the playlist.m3u
privately via email)
Actually, I found that playlist.m3u
doesn't contain any private data so I'll list a piece of it for the sake of debugging it easier. The first 15 lines of the file looks like:
#EXTM3U
#EXTINF:-1,TheFatRat feat. Laura Brehm - MAYDAY
https://cs1-73v4.vkuseraudio.net/p3/355f79d12214d3.mp3?extra=7nRew4aTaM7lj7RTBiGrUiUANZdXOP-5x2JL8T8eHGPGe8-chBpfhOHBC8WnY0uhWj_qolJnsVigNI-tp1xpMrwvU7B1a7SOjPIeS66hYk10o2lBlm3VHpuzl3-3f7MPxMkNSjQcoXWjzWx8W9_yfjA
#EXTINF:-1,Tony Igi - Astronomy
https://cs1-75v4.vkuseraudio.net/p15/3542329e4ace90.mp3?extra=8oB8VYUKvc8Euu1tGC4Bh7QZl8d3xkMhownQM7O9UVzoGzHq3UzuHQnNhrZkEbhbleVwxWlnrVFCyM6zDeC_0j2a0XJ2wLDKYkbEW0Bh5UuYii6GeYI0bRVHsXDcN-UgfxE8SlrJvT_1L7AoB7rNEAc
#EXTINF:-1,Teminite - Earthquake ☆NEWEST.MUSIC☆
https://psv4.vkuseraudio.net/c613617/u18442096/audios/1abf1ba5c5cb.mp3?extra=CDGoy6eudWuN1MsJ_n8OimWokEVq1g1x2Wqj0FRd4pYLDiV4da859o5QyROAtsZXjPCIexd4bE64EqlHH2zw9PU_Qa1swzbLpiVhUUuXSdflnEzEHNSjX3mkkImwM4_-2VZ6nY-HscTAMwO81BRkclU
#EXTINF:-1,Rameses B feat. Veela - Timeless
https://cs1-78v4.vkuseraudio.net/p23/273cd2daca9e48.mp3?extra=eVkTLEfRefY7NiFokA-tGKpM63yoD8lIlIDbx90YH6i227GjyV1W67FkaciG-CKt41I_g5aqYRJ_vxfmZu-cD7e7rOooca4u1o8DWP8isa_iFMi284HIjEERXRz6K90AZRuuBoVSM1TXurzFu0CiTz8
#EXTINF:-1,Crumb - Bones
https://cs1-41v4.vkuseraudio.net/p4/8e321ae774ca68.mp3?extra=1-SbjfVCny_W1w7McSLtRsRyFvL1MjVCrPaym-Dum2BDueqMYDQis9rw834UCDItMV35q08W0_ovcQh0e6-D98AUaVsvPkIqQei4qoASK3JKdoWGJvbzfDsdY28qx201OI0Y-jUXKGNrqBvf1MHPKgM
#EXTINF:-1,Crumb - Locket
https://cs1-48v4.vkuseraudio.net/p7/59e7ef932577bd.mp3?extra=UANW1_CVf_2PUcPR-9FR1z7yYMSajNthj3qHZ0AkgfNv4fb1F138RuQjGdXUklCxpueOHQjTWDL1fnEWgozwek8klBoWEeZf8V4QXBUYtRR0s7YtFWWwpRK9CSDPUcN0rltjkJBb-cIPvE5-70kmlfo
#EXTINF:-1,Crumb - Bones
https://cs1-41v4.vkuseraudio.net/p4/8e321ae774ca68.mp3?extra=1-SbjfVCny_W1w7McSLvRsRyFvL1MjVCrPaym-Dum2BDueqMYDQis9rw834UCDItMV35q08W0_ovcQh0e6-D98AUaVsvPkIqQei4qoASK3JKdoWGJvbzfDsdY28qx201OI0Y-jUWfDM8pkrZ05bNeVc
...
With this particular playlist.m3u
it seems that none of those links lead to actual music files. Have you tried with any other m3u streams?
I am having the same behavior you're reporting, but it seems to be due to broken links. Previous versions of m3u-download
used a certain cURL argument which made the script hang—that's been updated so the script now executes all the way, but all it downloads from each link is the respective HTML error page.
Closing unless there are more updates.