Downloading all videos of a youtube playlist (Linux Mint 20.1) #23832

Closed
opened 2026-02-21 13:01:54 -05:00 by deekerman · 0 comments
Owner

Originally created by @Gineok on GitHub (May 30, 2021).

I get an error when attempting to download a complete playlist (I made sure that I have the latest version installed):

youtube-dl -i PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', 'PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-73-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN: Downloading webpage
ERROR: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 2647, in _real_extract
data = self._extract_yt_initial_data(item_id, webpage)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 283, in _extract_yt_initial_data
self._search_regex(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I also tried another command with the same result:

youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=aPqq5xI5bUY&list=PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN' --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '-f', 'mp4', '--yes-playlist', 'https://www.youtube.com/watch?v=aPqq5xI5bUY&list=PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.8.5 (CPython) - Linux-5.4.0-73-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] Downloading playlist PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN - add --no-playlist to just download video aPqq5xI5bUY
[youtube:tab] PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN: Downloading webpage
ERROR: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 2647, in _real_extract
data = self._extract_yt_initial_data(item_id, webpage)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 283, in _extract_yt_initial_data
self._search_regex(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Originally created by @Gineok on GitHub (May 30, 2021). I get an error when attempting to download a complete playlist (I made sure that I have the latest version installed): youtube-dl -i PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-i', 'PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.02.10 [debug] Python version 3.8.5 (CPython) - Linux-5.4.0-73-generic-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4 [debug] Proxy map: {} [youtube:tab] PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN: Downloading webpage ERROR: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info ie_result = ie.extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 2647, in _real_extract data = self._extract_yt_initial_data(item_id, webpage) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 283, in _extract_yt_initial_data self._search_regex( File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) youtube_dl.utils.RegexNotFoundError: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. I also tried another command with the same result: youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=aPqq5xI5bUY&list=PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN' --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-i', '-f', 'mp4', '--yes-playlist', 'https://www.youtube.com/watch?v=aPqq5xI5bUY&list=PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.02.10 [debug] Python version 3.8.5 (CPython) - Linux-5.4.0-73-generic-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4 [debug] Proxy map: {} [youtube:tab] Downloading playlist PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN - add --no-playlist to just download video aPqq5xI5bUY [youtube:tab] PLoG_4JUJAvDAudxsBfhltD4-24CfLkfvN: Downloading webpage ERROR: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info ie_result = ie.extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 532, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 2647, in _real_extract data = self._extract_yt_initial_data(item_id, webpage) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 283, in _extract_yt_initial_data self._search_regex( File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) youtube_dl.utils.RegexNotFoundError: Unable to extract yt initial data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
deekerman 2026-02-21 13:01:54 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#23832
No description provided.