Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to download on hotstar #23166

Closed
psrbs07 opened this issue Nov 21, 2019 · 0 comments
Closed

Not able to download on hotstar #23166

psrbs07 opened this issue Nov 21, 2019 · 0 comments
Labels

Comments

@psrbs07
Copy link

@psrbs07 psrbs07 commented Nov 21, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.11.05
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

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.

@dstftw dstftw closed this Nov 21, 2019
@dstftw dstftw added the duplicate label Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.