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

Unable to download hotstar video #10739

Closed
codeasashu opened this issue Sep 23, 2016 · 1 comment
Closed

Unable to download hotstar video #10739

codeasashu opened this issue Sep 23, 2016 · 1 comment

Comments

@codeasashu
Copy link

@codeasashu codeasashu commented Sep 23, 2016

Getting following error:

$ youtube-dl -v http://www.hotstar.com/tv/mahadev/12/dashanan-lifts-kailash/1000000633
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.hotstar.com/tv/mahadev/12/dashanan-lifts-kailash/1000000633']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.19
[debug] Python version 2.7.12 - Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg git-2016-09-14-415f907, ffprobe git-2016-09-14-415f907
[debug] Proxy map: {}
[HotStar] 1000000633: Downloading JSON metadata
[HotStar] 1000000633: Downloading TABLET JSON metadata
[HotStar] 1000000633: Downloading m3u8 information
[debug] Invoking downloader on u'https://staragvod-vh.akamaihd.net/i/videos/lifeok/dekedema/419/1000000633_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgBnwEDLZysgTF185Vc+Fql0KX1FHK%2fWkQ++ti11xETuKOGHrr1VgcxFGd2iHpSjBy3OD3Gto0LwRw%3d%3d'
[download] Destination: Dashanan lifts Kailash-1000000633.mp4
[debug] ffmpeg command line: ffmpeg -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_=aq22SrvLR0S2pL6ikmRKpA==; hdntl=exp=1474743773~acl=%2f*~data=hdntl~hmac=86ce49c5dbd9ece3250f56cd53908c9501ffa86902c060692f7a652d7c627d08
' -i 'https://staragvod-vh.akamaihd.net/i/videos/lifeok/dekedema/419/1000000633_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgBnwEDLZysgTF185Vc+Fql0KX1FHK%2fWkQ++ti11xETuKOGHrr1VgcxFGd2iHpSjBy3OD3Gto0LwRw%3d%3d' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Dashanan lifts Kailash-1000000633.mp4.part'
ffmpeg version git-2016-09-14-415f907 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 55.101 / 57. 55.101
  libavformat    57. 49.100 / 57. 49.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 62.100 /  6. 62.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.
https://staragvod-vh.akamaihd.net/i/videos/lifeok/dekedema/419/1000000633_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgBnwEDLZysgTF185Vc+Fql0KX1FHK%2fWkQ++ti11xETuKOGHrr1VgcxFGd2iHpSjBy3OD3Gto0LwRw%3d%3d: Protocol not found
Did you mean file:https://staragvod-vh.akamaihd.net/i/videos/lifeok/dekedema/419/1000000633_,16,180,400,800,1300,2000,_STAR.mp4.csmil/index_5_av.m3u8?null=0&id=AgBnwEDLZysgTF185Vc+Fql0KX1FHK%2fWkQ++ti11xETuKOGHrr1VgcxFGd2iHpSjBy3OD3Gto0LwRw%3d%3d?


ERROR: ffmpeg exited with code 1
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 449, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 439, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 23, 2016

https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.

Most likely it's the root cause. Feel free to ask for reopening if things are still broken after recompiling.

@yan12125 yan12125 closed this Sep 23, 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.