Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Checklist
Verbose log
Download NOT working for URL
USER_PROMPT$ youtube-dl https://www.hotstar.com/in/tv/dr-babasaheb-ambedkar/s-2161/bhivas-heartwarming-move/1000241634 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.hotstar.com/in/tv/dr-babasaheb-ambedkar/s-2161/bhivas-heartwarming-move/1000241634', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.05
[debug] Python version 2.7.16 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[hotstar] 1000241634: Downloading webpage
[hotstar] 1000241634: Downloading JSON metadata
[hotstar] 1000241634: Downloading m3u8 information
[hotstar] 1000241634: Downloading MPD manifest
[hotstar] 1000241634: Downloading m3u8 information
[hotstar] 1000241634: Downloading MPD manifest
[hotstar] 1000241634: Downloading m3u8 information
[hotstar] 1000241634: Downloading MPD manifest
ERROR: This video is not available from your location due to geo restriction
This video is available in India.
You might want to use a VPN or a proxy server (with --proxy) to workaround.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/hotstar.py", line 143, in _real_extract
format_url, video_id, mpd_id='dash'))
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2017, in _extract_mpd_formats
fatal=fatal)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 820, in _download_xml_handle
expected_status=expected_status)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 660, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 645, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Failed to download MPD manifest: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/hotstar.py", line 158, in _real_extract
self.raise_geo_restricted(countries=['IN'])
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 940, in raise_geo_restricted
raise GeoRestrictedError(msg, countries=countries)
GeoRestrictedError: This video is not available from your location due to geo restriction
USER_PROMPT$ youtube-dl --version
2019.11.05
Download working for URL
USER_PROMPT$ youtube-dl https://www.hotstar.com/in/tv/raja-shivchhatrapati/s-1010/shivajis-crowned-as-the-king/1000166111 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.hotstar.com/in/tv/raja-shivchhatrapati/s-1010/shivajis-crowned-as-the-king/1000166111', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.05
[debug] Python version 2.7.16 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[hotstar] 1000166111: Downloading webpage
[hotstar] 1000166111: Downloading JSON metadata
[hotstar] 1000166111: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'https://staragvodweb3-vh.akamaihd.net/i/videos/worldwide/pravah/rsrar/1/1000166111_,16,54,106,180,400,800,1300,2000,3000,4500,_STAR.mp4.csmil/index_7_av.m3u8?null=0&hdntl=exp=1574442995~acl=%2f*~data=hdntl~hmac=9d0bab68be51f3931ae0304cc2dacb53131fe88af5d822280b4c1bb088718183'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 209
[download] Destination: Shivaji's Crowned As The King-1000166111.mp4
[download] 1.9% of ~329.16MiB at 3.18MiB/s ETA 02:39
USER_PROMPT$ youtube-dl --version
2019.11.05
Description
Download is not working for one URL on hotstar while its working on other URL. I have provided verbose logs for both URL.