You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure the question is worded well enough to be understood
lready satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages (from requests<3,>=2.31.0->yt-dlp) (3.7)
[youtube] Extracting URL: https://www.youtube.com/watch?v=qWdyhFiyH0Y
[youtube] qWdyhFiyH0Y: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading ios player API JSON
WARNING: [youtube] qWdyhFiyH0Y: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading iframe API JS
WARNING: [youtube] unable to extract player version; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading web player API JSON
WARNING: [youtube] qWdyhFiyH0Y: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [youtube] qWdyhFiyH0Y: Failed to extract any player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ExtractorError Traceback (most recent call last)
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py:1606, in YoutubeDL._handle_extraction_exceptions..wrapper(self, *args, **kwargs)
1605 try:
-> 1606 return func(self, *args, **kwargs)
1607 except (DownloadCancelled, LazyList.IndexError, PagedList.IndexError):
Yes I can, I even could download the video and Audio, the error message says :
ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location
They are both already installed
╰─➤ which ffprobe
/opt/homebrew/bin/ffprobe
But still the code does not want to work, any comment? here is the code:
import os
os.environ['PATH'] += ':/opt/homebrew/bin/'
[youtube] Extracting URL: https://www.youtube.com/watch?v=ly8orBNiNQM
[youtube] ly8orBNiNQM: Downloading webpage
[youtube] ly8orBNiNQM: Downloading ios player API JSON
[youtube] ly8orBNiNQM: Downloading m3u8 information
[info] ly8orBNiNQM: Downloading 1 format(s): 140
[download] Destination: /Users/alexparsee/Desktop/YouTube//Architectural Design Process | Form, Orientation and Sunlight.m4a
[download] 100% of 9.17MiB in 00:00:01 at 7.52MiB/s
WARNING: ly8orBNiNQM: writing DASH m4a. Only some players support this container. Install ffmpeg to fix this automatically ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
lready satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages (from requests<3,>=2.31.0->yt-dlp) (3.7)
[youtube] Extracting URL: https://www.youtube.com/watch?v=qWdyhFiyH0Y
[youtube] qWdyhFiyH0Y: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading ios player API JSON
WARNING: [youtube] qWdyhFiyH0Y: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading iframe API JS
WARNING: [youtube] unable to extract player version; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] qWdyhFiyH0Y: Downloading web player API JSON
WARNING: [youtube] qWdyhFiyH0Y: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ERROR: [youtube] qWdyhFiyH0Y: Failed to extract any player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
ExtractorError Traceback (most recent call last)
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py:1606, in YoutubeDL._handle_extraction_exceptions..wrapper(self, *args, **kwargs)
1605 try:
-> 1606 return func(self, *args, **kwargs)
1607 except (DownloadCancelled, LazyList.IndexError, PagedList.IndexError):
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py:1741, in YoutubeDL.__extract_info(self, url, ie, download, extra_info, process)
1740 try:
-> 1741 ie_result = ie.extract(url)
1742 except UserNotLive as e:
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/extractor/common.py:734, in InfoExtractor.extract(self, url)
732 self.to_screen('Extracting URL: %s' % (
733 url if self.get_param('verbose') else truncate_string(url, 100, 20)))
--> 734 ie_result = self._real_extract(url)
735 if ie_result is None:
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/extractor/youtube.py:4145, in YoutubeIE._real_extract(self, url)
4143 webpage_url = base_url + 'watch?v=' + video_id
-> 4145 webpage, master_ytcfg, player_responses, player_url = self._download_player_responses(url, smuggled_data, video_id, webpage_url)
4147 playability_statuses = traverse_obj(
4148 player_responses, (..., 'playabilityStatus'), expected_type=dict)
File /opt/anaconda3/envs/my_conda_venv/lib/python3.12/site-packages/yt_dlp/extractor/youtube.py:4109, in YoutubeIE._download_player_responses(self, url, smuggled_data, video_id, webpage_url)
...
1011 exc_info = sys.exc_info()
-> 1012 raise DownloadError(message, exc_info)
1013 self._download_retcode = 1
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: