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

A problem in downloading Hotstar Videos #10050

Closed
aravindkanna opened this issue Jul 9, 2016 · 1 comment
Closed

A problem in downloading Hotstar Videos #10050

aravindkanna opened this issue Jul 9, 2016 · 1 comment

Comments

@aravindkanna
Copy link

@aravindkanna aravindkanna commented Jul 9, 2016

Hello, I recently started using youtube-dl. It is working extraordinarily to download youtube videos. But I have some problem in downloading videos from Hotstar.
The output when I ran youtube-dl -v http://www.hotstar.com/tv/siya-ke-ram/6363/ravan-to-attack-indradev/1000086705 is below.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.hotstar.com/tv/siya-ke-ram/6363/ravan-to-attack-indradev/1000086705']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.09.2
[debug] Python version 2.7.10 - Linux-4.2.0-25-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 0.8.17-4, avprobe 0.8.17-4, ffmpeg 0.8.17-4, ffprobe 0.8.17-4
[debug] Proxy map: {}
[HotStar] 1000086705: Downloading JSON metadata
[HotStar] 1000086705: Downloading TABLET JSON metadata
[HotStar] 1000086705: Downloading m3u8 information
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://staragvod2-vh.akamaihd.net/i/videos/plus/skr/96/1000086705_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgCvZRN7uBo2DCs4gVceLvRGJlTCe2P43Fq49r4V+IF9kDqNQRkaigeXWdu92RbGZjBsJHb2mCTLJQ%3d%3d'
[download] Destination: Ravan to Attack Indradev-1000086705.mp4
WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
[debug] avconv command line: avconv -y -headers 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=dAYjjmo83yezMDaY0XQXqg==; hdntl=exp=1468172715~acl=%2f*~data=hdntl~hmac=576f6bf92a12d326df330f772c9732ffaf2ff3b8f784e7b63f43b81be330d46e
' -i 'https://staragvod2-vh.akamaihd.net/i/videos/plus/skr/96/1000086705_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgCvZRN7uBo2DCs4gVceLvRGJlTCe2P43Fq49r4V+IF9kDqNQRkaigeXWdu92RbGZjBsJHb2mCTLJQ%3d%3d' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Ravan to Attack Indradev-1000086705.mp4.part'
avconv version 0.8.17-4:0.8.17-0ubuntu0.12.04.2, Copyright (c) 2000-2014 the Libav developers
  built on Apr  1 2016 14:24:20 with gcc 4.6.3
Unrecognized option 'headers'
Failed to set value 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=dAYjjmo83yezMDaY0XQXqg==; hdntl=exp=1468172715~acl=%2f*~data=hdntl~hmac=576f6bf92a12d326df330f772c9732ffaf2ff3b8f784e7b63f43b81be330d46e
' for option 'headers'


ERROR: ffmpeg exited with code 1
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 422, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 412, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1745, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 692, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 738, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1391, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1653, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1595, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 555, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 517, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

I am on the latest version. Please solve my problem. Thank you.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 9, 2016

WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.

@dstftw dstftw closed this Jul 9, 2016
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.