Provide a description that is worded well enough to be understood
Earlier I could download videos from hotstar if I use login cookie but recently after yt-dlp update now I can't download video even using login cookie. I was also able to download yesterday on the same system.
Event the same fails while without cookies:
[debug] Command-line config: ['-q', '-F', '-v', 'https://www.hotstar.com/in/shows/yeh-rishta-kya-kehlata-hai/586/abhira-ruhi-learn-the-truth/1000903272/watch']
[debug] User config "C:\Users\ShortThirdMan\yt-dlp.conf": ['--config-location', 'C:\Users\ShortThirdMan\yt-dlp.conf', '--embed-metadata', '--xattrs', '--netrc', '--netrc-location', 'C:\Users\ShortThirdMan\.netrc', '--merge-output-format', 'mp4', '--progress', '--console-title', '--no-cache-dir', '--no-part', '--continue', '--no-windows-filenames', '--hls-use-mpegts', '--geo-bypass', '--ignore-errors', '--no-warnings', '--ffmpeg-location', 'C:\Applications\FFmpeg\bin', '--downloader', 'm3u8:native', '--postprocessor-args', 'FFmpeg:-v quiet', '--ignore-no-formats-error', '--compat-options', 'multistreams', '--compat-options', 'no-live-chat', '--compat-options', 'no-youtube-prefer-utc-upload-date', '--allow-dynamic-mpd', '--color', 'stdout:always', '--color', 'stderr:always', '--embed-chapters']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.10.07 from yt-dlp/yt-dlp [1a176d874] (win_exe)
[debug] Compatibility options: multistreams, no-live-chat, no-youtube-prefer-utc-upload-date
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg 7.0.1-full_build-www.gyan.dev (setts), ffprobe 7.0.1-full_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: ['C:\Users\ShortThirdMan\yt-dlp-plugins\yt-dlp-ChromeCookieUnlock\yt_dlp_plugins']
[debug] Loaded 1838 extractors
[hotstar] Extracting URL: https://www.hotstar.com/in/shows/yeh-rishta-kya-kehlata-hai/586/abhira-ruhi-learn-the-truth/1000903272/watch
[hotstar] 1000903272: Downloading JSON metadata
[hotstar] 1000903272: Downloading webpage
[hotstar] 1000903272: Downloading token
ERROR: [hotstar] 1000903272: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)
File "yt_dlp\extractor\common.py", line 741, in extract
File "yt_dlp\extractor\hotstar.py", line 250, in _real_extract
File "yt_dlp\extractor\hotstar.py", line 65, in _call_api_v2
File "yt_dlp\extractor\hotstar.py", line 40, in _call_api_impl
File "yt_dlp\extractor\common.py", line 1151, in download_content
File "yt_dlp\extractor\common.py", line 1111, in download_handle
File "yt_dlp\extractor\common.py", line 961, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 910, in _request_webpage
File "yt_dlp\extractor\common.py", line 897, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 4172, in urlopen
File "yt_dlp\networking\common.py", line 117, in send
File "yt_dlp\networking_helper.py", line 208, in wrapper
File "yt_dlp\networking\common.py", line 340, in send
File "yt_dlp\networking_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found
One of the reasons might be Disney+ Hotstar would have moved to new API version. Another reason for this might be the Jio-Disney+ merger which took place couple of months back. Although not sure.
In the network tab in developer tools, I see the following API URL: https://www.hotstar.com/api/internal/bff/v2/start. I don’t know much about it, but maybe the "v2" indicates a new API address, and that could be the problem?
This endpoint is failing with 503 service unavailable in yt-dlp
GET /play/v1/playback/content/1271325263?desired-config=audio_channel%3Astereo%7Ccontainer%3Afmp4%7Cdynamic_range%3Ahdr%7Cencryption%3Aplain%7Cladder%3Atv%7Cpackage%3Adash%7Cresolution%3Afhd%7Csubs-tag%3AHotstarVIP%7Cvideo_codec%3Ah265&device-id=0fd8c299-0a8d-4dbc-b505-eeb8dedbbd78&os-name=Windows&os-version=10 HTTP/2
Host: api.hotstar.com
Provide verbose output that clearly demonstrates the problem
[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Complete Verbose Output
Microsoft Windows [Version 10.0.19045.4780]
(c) Microsoft Corporation. All rights reserved.
C:\Users\pc 2\Desktop\video tools>yt-dlp -vU --cookies cookies.txt -N 50 -S vcodec:h264,res:480,ext:mp4:m4a https://www.hotstar.com/in/shows/ishti-kutum/1271269632/ignore_me/1000288197
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', '-N', '50', '-S', 'vcodec:h264,res:480,ext:mp4:m4a', 'https://www.hotstar.com/in/shows/ishti-kutum/1271269632/ignore_me/1000288197']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.10.07 from yt-dlp/yt-dlp [1a176d8] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg N-92795-gcdbf8847ea, ffprobe 2024-01-01-git-e1c1dc8347-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.10.07 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.10.07 from yt-dlp/yt-dlp)
[hotstar] Extracting URL: https://www.hotstar.com/in/shows/ishti-kutum/1271269632/ignore_me/1000288197
[hotstar] 1000288197: Downloading JSON metadata
[hotstar] 1000288197: Downloading webpage
[hotstar] 1000288197: Downloading JSON metadata
ERROR: [hotstar] 1000288197: Unable to download JSON metadata: HTTP Error 503: Service Unavailable (caused by <HTTPError 503: Service Unavailable>)
File "yt_dlp\extractor\common.py", line 741, in extract
File "yt_dlp\extractor\hotstar.py", line 250, in _real_extract
File "yt_dlp\extractor\hotstar.py", line 65, in _call_api_v2
File "yt_dlp\extractor\hotstar.py", line 50, in _call_api_impl
File "yt_dlp\extractor\common.py", line 1151, in download_content
File "yt_dlp\extractor\common.py", line 1111, in download_handle
File "yt_dlp\extractor\common.py", line 961, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 910, in _request_webpage
File "yt_dlp\extractor\common.py", line 897, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 4172, in urlopen
File "yt_dlp\networking\common.py", line 117, in send
File "yt_dlp\networking_helper.py", line 208, in wrapper
File "yt_dlp\networking\common.py", line 340, in send
File "yt_dlp\networking_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 503: Service Unavailable
C:\Users\pc 2\Desktop\video tools>
This is a -vU output
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
No response
Provide a description that is worded well enough to be understood
Earlier I could download videos from hotstar if I use login cookie but recently after yt-dlp update now I can't download video even using login cookie. I was also able to download yesterday on the same system.
Event the same fails while without cookies:
[debug] Command-line config: ['-q', '-F', '-v', 'https://www.hotstar.com/in/shows/yeh-rishta-kya-kehlata-hai/586/abhira-ruhi-learn-the-truth/1000903272/watch'] [debug] User config "C:\Users\ShortThirdMan\yt-dlp.conf": ['--config-location', 'C:\Users\ShortThirdMan\yt-dlp.conf', '--embed-metadata', '--xattrs', '--netrc', '--netrc-location', 'C:\Users\ShortThirdMan\.netrc', '--merge-output-format', 'mp4', '--progress', '--console-title', '--no-cache-dir', '--no-part', '--continue', '--no-windows-filenames', '--hls-use-mpegts', '--geo-bypass', '--ignore-errors', '--no-warnings', '--ffmpeg-location', 'C:\Applications\FFmpeg\bin', '--downloader', 'm3u8:native', '--postprocessor-args', 'FFmpeg:-v quiet', '--ignore-no-formats-error', '--compat-options', 'multistreams', '--compat-options', 'no-live-chat', '--compat-options', 'no-youtube-prefer-utc-upload-date', '--allow-dynamic-mpd', '--color', 'stdout:always', '--color', 'stderr:always', '--embed-chapters'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2024.10.07 from yt-dlp/yt-dlp [1a176d874] (win_exe) [debug] Compatibility options: multistreams, no-live-chat, no-youtube-prefer-utc-upload-date [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg 7.0.1-full_build-www.gyan.dev (setts), ffprobe 7.0.1-full_build-www.gyan.dev, phantomjs 2.1.1 [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Plugin directories: ['C:\Users\ShortThirdMan\yt-dlp-plugins\yt-dlp-ChromeCookieUnlock\yt_dlp_plugins'] [debug] Loaded 1838 extractors [hotstar] Extracting URL: https://www.hotstar.com/in/shows/yeh-rishta-kya-kehlata-hai/586/abhira-ruhi-learn-the-truth/1000903272/watch [hotstar] 1000903272: Downloading JSON metadata [hotstar] 1000903272: Downloading webpage [hotstar] 1000903272: Downloading token ERROR: [hotstar] 1000903272: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>) File "yt_dlp\extractor\common.py", line 741, in extract File "yt_dlp\extractor\hotstar.py", line 250, in _real_extract File "yt_dlp\extractor\hotstar.py", line 65, in _call_api_v2 File "yt_dlp\extractor\hotstar.py", line 40, in _call_api_impl File "yt_dlp\extractor\common.py", line 1151, in download_content File "yt_dlp\extractor\common.py", line 1111, in download_handle File "yt_dlp\extractor\common.py", line 961, in _download_webpage_handle File "yt_dlp\extractor\common.py", line 910, in _request_webpage
File "yt_dlp\extractor\common.py", line 897, in _request_webpage File "yt_dlp\YoutubeDL.py", line 4172, in urlopen File "yt_dlp\networking\common.py", line 117, in send File "yt_dlp\networking_helper.py", line 208, in wrapper File "yt_dlp\networking\common.py", line 340, in send File "yt_dlp\networking_requests.py", line 365, in _send yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found One of the reasons might be Disney+ Hotstar would have moved to new API version. Another reason for this might be the Jio-Disney+ merger which took place couple of months back. Although not sure.
In the network tab in developer tools, I see the following API URL: https://www.hotstar.com/api/internal/bff/v2/start. I don’t know much about it, but maybe the "v2" indicates a new API address, and that could be the problem?
This endpoint is failing with 503 service unavailable in yt-dlp
GET /play/v1/playback/content/1271325263?desired-config=audio_channel%3Astereo%7Ccontainer%3Afmp4%7Cdynamic_range%3Ahdr%7Cencryption%3Aplain%7Cladder%3Atv%7Cpackage%3Adash%7Cresolution%3Afhd%7Csubs-tag%3AHotstarVIP%7Cvideo_codec%3Ah265&device-id=0fd8c299-0a8d-4dbc-b505-eeb8dedbbd78&os-name=Windows&os-version=10 HTTP/2 Host: api.hotstar.com
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