Closed Zibri closed 3 years ago
It seems to have problems with big playlists...
I don't think it's problem with big playlists. I've once downloaded playlist with over 3k songs without any error.
It seems to have problems with big playlists...
I tried downloading smaller playlists and still facing the same issue
What's your pytube
version?
The devs put in hours of effort, and you should show enough respect to put in a few minutes & follow the template. Following the template also provides us all the information we need, without having to ask for it.
What's your
pytube
version?
pytube 10.5.1
@nefario7 spotDL & FFmpeg versions?
Also can you provide a link to the smaller playlist where you can reproduce the issue?
spotDL: spotdl (3.3.2)
ffmpeg: ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
Link to the playlist: https://open.spotify.com/playlist/06Ovd8hVDJrkYKiiFkNV1l?si=7stW7CUuT1ifTbYoJHylUA&nd=1
@Silverarmor Actually, now when I tried to download from the playlist, I am not getting any error per se, but it has been stuck at this point for a very long time now. Find the terminal text below.
chinmay@Chinmay-PC:/mnt/d/spotify-downloader$ spotdl https://open.spotify.com/playlist/06Ovd8hVDJrkYKiiFkNV1l?si=7stW7CUuT1ifTbYoJHylUA&nd=1
[2] 10740
Fetching Playlist...
Searching for: Atif Aslam - Tajdar-E-Haram
Searching for: Ali Sethi - Ranjish Hi Sahi
Searching for: Ankur Tewari, Prateek Kuhad, Dhruv Bhola, Nikhil Vasudevan - Dil Beparvah - The Dewarists, Season 5
Searching for: Piyush Mishra - Husna
Searching for: Ali Sethi, Nabeel Shaukat - Umran Langiyaan
Searching for: Nabeel Shaukat Ali - Bewajah
Searching for: Amit Trivedi, Kavita Seth - Iktara - MTV Unplugged Version
Searching for: Momina Mustehsan, Asim Azhar - Tera Woh Pyar (Nawazishein Karam)
Searching for: Mame Khan - Chaudhary
Searching for: Sajjad Ali, Fariha Pervez - Jhoolay Laal
Searching for: Monali Thakur - Anjaana Anjaani Unplugged
Searching for: Amaal Mallik - Roke Na Ruke Naina Unplugged
Searching for: Ram Sampath, Usri Banerjee, Aditi Singh Sharma - Sundari Komola
Searching for: Amit Trivedi - Zinda
Searching for: Atif Aslam - Jal Pari
Searching for: Sachin-Jigar - Jeena Jeena
Searching for: Nucleya, Papon - Memories - Episode 05
Searching for: Anu Malik, Papon, Varun Grover - Moh Moh Ke Dhaage (MTV Unplugged)
Searching for: Papon, Anweshaa - Benaam Khwaayishein
Searching for: Armaan Malik - Main Hoon Hero Unplugged
Searching for: Rahat Fateh Ali Khan, Momina Mustehsan - Afreen Afreen
Searching for: Shafqat Amanat Ali - Aakhon ke Sagar
Searching for: Armaan Malik - Tere Mere Unplugged
Searching for: Salim–Sulaiman, Salim Merchant - Kurbaan Hua - MTV Unplugged Version
Searching for: Shalmali Kholgade, Shashwat Singh - Agar Tum Saath Ho Unplugged
Searching for: Junoon, Rahat Fateh Ali Khan, Ali Noor - Sayonee
Searching for: Salim–Sulaiman, Salim Merchant - Ali Maula - MTV Unplugged Version
Searching for: Salim–Sulaiman, Salim Merchant - Ishq Wala Love - MTV Unplugged Version
Searching for: Amit Trivedi, Dhruv Sangari, Karthik, Chandana Bala - Kyun Na
Searching for: Akhil Sachdeva - Madhaniyan - Humsafar Unplugged
Searching for: Papon - Jiyein Kyun
Searching for: Farida Khanum - Aaj Jane Ki Zid Na Karo
Searching for: Abida Parveen, Rahat Fateh Ali Khan - Chaap Tilak
Searching for: Armaan Malik - Bol Do Na Zara Unplugged
Searching for: Salim–Sulaiman, Salim Merchant - Shukran Allah - MTV Unplugged Version
Searching for: Ankit Tiwari - Galliyan
Searching for: Amit Trivedi - Nayan Tarse & Badra Bahaar
Searching for: Shreya Ghoshal - Leja Leja Re Unplugged
Searching for: Vishal Dadlani, Neeraj Arya's Kabir Cafe - Fakiri - The Dewarists, Season 4
Searching for: Clinton Cerejo, Vishal Dadlani, Sonu Kakkar - Madari
Searching for: Farhan Akhtar, Shannon Donald - Gallan Goodiyan Unplugged
Searching for: Salim–Sulaiman, Benny Dayal, Amitabh Bhattacharya - Tarkeebein (MTV Unplugged)
Searching for: Mohammed Irfan, Shashaa Tirupati - Banjaara
Searching for: Vishal Bhardwaj - Dil Toh Bacha Hai Ji Unplugged
Searching for: Amit Trivedi - Pardesi
Searching for: Ram Sampath, Sona Mohapatra - Piya Se Naina
Searching for: Amit Trivedi, Shalmali Kholgade, Kausar Munir - Pareshaan (MTV Unplugged)
Searching for: Farhan Akhtar, Rochak Kohli - Atrangi Yaari Unplugged
Searching for: Pritam, Shilpa Rao, Javed Ali, Amitabh Bhattacharya - Kamli (MTV Unplugged)
Searching for: Ankit Tiwari - Sunn Raha Hai
Searching for: Papon - Kaun Mera
Searching for: Shantanu Moitra, Papon - O Megh - The Dewarists, Season 4
Searching for: Papon - Khumaar
Searching for: Javed Bashir, MASUMA ANWAR, Shahzad Nawaz - Jhalliya
Searching for: Alamgir, Fariha Pervez - Aamay Bhashalli Rey
Searching for: A.R. Rahman, Suresh Peters, Ranjit Barot - Urvashi Urvashi (Mtv Unplugged Season 6)
Searching for: Hariharan, Leslee Lewis - Tu Hi Re
Searching for: Shankar Mahadevan - Aave Re Hitchki Unplugged
Searching for: Amaal Mallik - Kaun Tujhe Unplugged
Searching for: Amaal Mallik, Armaan Malik - Main Rahoon Ya Na Rahoon Unplugged
Searching for: Zeb Bangash - Aaja Re Moray Saiyaan
Searching for: Vishal Bhardwaj - Pehli Baar Unplugged
Searching for: Quratulain Balouch, Akbar Ali, Arieb Azhar - Laal Meri Pat
Searching for: Quratulain Balouch, Umair Jaswal - Sammi Meri Waar
Searching for: Shreya Ghoshal - Sun Raha Hai Na Tu Unplugged
Searching for: Ali Khan - Janay Na Tu (Coke Studio Season 9)
Searching for: feat. Harshdeep Kaur and Irshad Kamil - Ajj Din Chadheya
Searching for: Benny Dayal - Locha-E-Ulfat Unplugged
Searching for: A.R. Rahman, Sanah Moidutty - Tu Hai (Mtv Unplugged Season 6)
Searching for: A.R. Rahman, Farah Siraj, Ani Choying Drolma - Zariya
Searching for: Sachin-Jigar - Mileya Mileya
Searching for: Raghu Dixit, Bindhumalini, Bryden Lewis, Parth Chandiramani, Gaurav Vaz - Daiyya Ri - The Dewarists, Season 4
Searching for: Armaan Malik - Sab Tera Unplugged
Searching for: Monali Thakur - Sawaaar Loon Unplugged
Searching for: Ali Sethi - Gulon Main Rang
Searching for: Amit Trivedi, Tochi Raina, Jaggi - Rabba
Searching for: Kanika Kapoor, Amit Trivedi - Da Dasse & Udta Punjab Unplugged (MTV Unplugged Season 6)
Searching for: Jasleen Royal - Preet Unplugged
Searching for: Dhruv Ghanekar, Mame Khan - Mitho Laage - The Dewarists, Season 5
Searching for: Imogen Heap - Minds Without Fear
Searching for: Josh & Shafqat Amanat Ali - Mahi Ve
Searching for: Shafqat Amanat Ali - Khamaaj
Searching for: Farhan Saeed, Quratulain Balouch - Latthay Di Chaadar
Searching for: Sachin-Jigar, Shruti Pathak, Jaideep Sahni - Gulabi (MTV Unplugged)
Searching for: Aima Baig, Shuja Haider - Baanware
Searching for: Abida Parveen, Ali Sethi - Aaqa - Coke Studio Season 9
Searching for: Arif Lohar & Meesha Shafi - Alif Allah Chambey Di Booty
Searching for: Saieen Zahoor & Noori - Aik Alif
Searching for: Atif Aslam - Wohi Khuda
Searching for: Hadiqa Kiani - Daachi Waaliya
Searching for: Hitesh Sonik, Piyush Mishra - Ghar
Searching for: Danyal Zafar, Momina Mustehsan - Muntazir
Searching for: A.R. Rahman, Ghulam Mustafa Khan, Murtuza Mustafa, Qadir Mustafa, Rabbani Mustafa, Hasan Musta, Faiz Mustafa - Aao Balma
Searching for: Amit Trivedi, Karthik, Shalmali Kholgade - Naariyan
Searching for: Ali Hamza, Ali Sethi, Waqar Ehsin - Tinak Dhin
Searching for: Sara Haider, Ali Zafar - Ae Dil Kisi Ki Yaad Mein
Searching for: Ayesha Omar - Laage Re Nain
Searching for: Ali Azmat, Rahat Fateh Ali Khan - Garaj Baras (Live)
Searching for: Humaira Channa, Nabeel Shaukat - Mujh Se Pehli Si Mohabbat
Searching for: Zeb, Haniya & Javed Bashir - Rona Chor Diya
Searching for: Javed Bashir, Akbar Ali, Aamir Zaki - Naina Moray
Searching for: Kaavish - Nindiya Re - Studio Version
Searching for: Kaavish, Quratulain Balouch - Faasle
Searching for: Javed Bashir, Ali Azmat - Man Kunto Maula
3%|██▎ |ETA: 03:21, 0.03min/song
@nefario7 Update your FFmpeg.
@nefario7 Update your FFmpeg.
Do I need FFmpeg 4.X? Because, when I tried to update it, it said I am already on the newest version.
@nefario7 Yes, update to 4.3.X
Unable to reproduce your error on spotDL 3.3.2, FFmpeg 4.3.2
I also have the same problem, the download in my case gets stuck in 9%. I have spotDL 3.3.3, FFmpeg 4.3.2, pytube 10.5.1 Playlist Link: https://open.spotify.com/playlist/6GOsy8d4UaeaBrGpdBlXKZ?si=bYlhADEwRr2l_cbd2BK-hQ
@Gorospe I can download that playlist with no issues. What OS are you on?
@Silverarmor I'm using a Ubuntu 18.04.5 LTS. Okey, I guess there is something wrong with my the installation. I will try to install everything in a different computer. Thanks,
@Zibri I'm unable to reproduce your original error either.
Okey, I fixed my problem. It was all about the ffmpeg version.
I first installed it with apt-get install ffmpeg
, which installs an old version.
Then, I removed it and compiled myself a newer version from https://ffmpeg.org/download.html. It guess I made something wrong will building and installing it. Finally, I downloaded an already compiled version and it worked.
I used https://johnvansickle.com/ffmpeg/ 4.3.2 static version, where the installation steps are in https://www.johnvansickle.com/ffmpeg/faq/
Thanks
I have the same error, but was able to find the culprit:
Fetching Playlist...
[...]
Searching for: OMG - 99
[...]
39%|██████████████████████████████████▍ |ETA: 00:35, 0.02min/songTraceback (most recent call last):
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Kelvin\AppData\Local\Programs\Python\Python38\Scripts\spotdl.exe\__main__.py", line 7, in <module>
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\spotdl\__main__.py", line 115, in console_entry_point
downloader.download_multiple_songs(songObjList)
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\spotdl\download\downloader.py", line 86, in download_multiple_songs
self._download_asynchronously(songObjList)
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\spotdl\download\downloader.py", line 357, in _download_asynchronously
self.loop.run_until_complete(asyncio.gather(*tasks))
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\asyncio\base_events.py", line 612, in run_until_complete
return future.result()
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\spotdl\download\downloader.py", line 352, in _pool_download
return await self.download_song(song_obj)
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\spotdl\download\downloader.py", line 173, in download_song
youtubeHandler = YouTube(
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\pytube\__main__.py", line 90, in __init__
self.video_id = extract.video_id(url)
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\pytube\extract.py", line 170, in video_id
return regex_search(r"(?:v=|\/)([0-9A-Za-z_-]{11}).*", url, group=1)
File "c:\users\kelvin\appdata\local\programs\python\python38\lib\site-packages\pytube\helpers.py", line 40, in regex_search
raise RegexMatchError(caller="regex_search", pattern=pattern)
pytube.exceptions.RegexMatchError: regex_search: could not find match for (?:v=|\/)([0-9A-Za-z_-]{11}).*
41%|████████████████████████████████████▎ |ETA: 00:28, 0.02min/song
PS C:\Users\Kelvin\Music\20 08>
When downloading my playlist it always aborts at the song "OMG - 99". After restarting spotdl
multiple times it was only able to download the next song and then aborted again - so I looked at the files and this particular song was never downloaded although it should have been because of the ordering.
Now I tried to download it manually with spotdl https://open.spotify.com/track/5TyUCIidMQZkIVJKVFtdTY?si=7ntJgJ-TRYu5Y_H0sjJ-Jw
and this didn't work either, whereas I'm able to download other songs from this playlist manually (only tested a few of them).
My guess is that this songs title isn't very specific and therefore no search results are found (Spotify and YouTube). Also tried searching for the title with spotdl
:
spotdl 'omg - 99'
Searching for song "omg - 99"...
Searching for: Thomas Erikson - Chapter 99.4 - Omgiven av idioter
Searching for: Thomas Erikson - Chapter 99.2 - Omgiven av idioter
Searching for: Thomas Erikson - Chapter 99.3 - Omgiven av idioter
Searching for: Thomas Erikson - Chapter 99.5 - Omgiven av idioter
Searching for: Thomas Erikson - Chapter 98.4 & Chapter 99.1 - Omgiven av idioter
Searching for: Thomas Erikson - Chapter 99.6 & Chapter 100.1 - Omgiven av idioter
No song named "omg - 99" could be found on spotify
0%| |ETA: ?, ~min/song
spotdl
, re-add song
orspotdl
, delete playlistWindows 10
spotdl 3.3.3
pytube 10.5.1
ffmpeg 4.3.2
I've updated everything before I found the "solution".
Yep.. the problem happens because spotdl searches for the song name instead of getting and using the song ID. (I think)
So you close it because you can't/won't solve it.. because the issue is there and many users are affected.
I will look into the pytube regex error but I think that this is pytube bug
@Zibri It is standard practice to close issues instantly that do not follow our Template. I kept it open since it was a valid issue at the time.
$ spotdl "https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe"