yt-dlp / yt-dlp

A feature-rich command-line audio/video downloader
https://discord.gg/H5MNcFW63r
The Unlicense
81.84k stars 6.38k forks source link

[SonyLiv] An extractor error has occurred. (caused by KeyError('videoURL')); #2026

Closed kr-v closed 2 years ago

kr-v commented 2 years ago

Checklist

Region

India

Description

Trying to download this file on the latest version ( login supported extractor). Getting Extractor error.

URL : 'https://www.sonyliv.com/shows/taarak-mehta-ka-ooltah-chashmah-1700000084/gungun-s-father-faints-1000150049?watch=true'

Verbose log

[debug] Command-line config: ['https://www.sonyliv.com/shows/taarak-mehta-ka-ooltah-chashmah-1700000084/gungun-s-father-faints-1000150049?watch=true', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.01 [91f071af6] (zip)
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.7 (CPython 64bit) - macOS-12.1-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.4 (setts), ffprobe 4.4, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] Using fake IP 117.237.35.89 (IN) as X-Forwarded-For
[SonyLIV] Downloading JSON metadata
[debug] [SonyLIV] Extracting URL: https://www.sonyliv.com/shows/taarak-mehta-ka-ooltah-chashmah-1700000084/gungun-s-father-faints-1000150049?watch=true
[SonyLIV] 1000150049: Downloading JSON metadata
ERROR: 1000150049: An extractor error has occurred. (caused by KeyError('videoURL')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 598, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/sonyliv.py", line 141, in _real_extract
    dash_url = content['videoURL']
KeyError: 'videoURL'
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 598, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/sonyliv.py", line 141, in _real_extract
    dash_url = content['videoURL']
KeyError: 'videoURL'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1335, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1404, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 628, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e, video_id=self.get_temp_id(url))
yt_dlp.utils.ExtractorError: 1000150049: An extractor error has occurred. (caused by KeyError('videoURL')); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
pukkandan commented 2 years ago

You are not passing login details to it