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

Vidible : download fails - error : list index out of range #13951

Closed
lucascharrierpulpix opened this issue Aug 17, 2017 · 0 comments
Closed

Vidible : download fails - error : list index out of range #13951

lucascharrierpulpix opened this issue Aug 17, 2017 · 0 comments

Comments

@lucascharrierpulpix
Copy link

@lucascharrierpulpix lucascharrierpulpix commented Aug 17, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.08.13

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-j', u'http://delivery.vidible.tv/mrss/video/58ee9fc51de5a1227f8f7051?bcid=566f3b38e4b0318fa28337a0&mxid=54caa453e4b04263ba06ad53&enc=mp4', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.13
[debug] Git HEAD: baeb44a00
[debug] Python version 2.7.10 - Darwin-16.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {}
WARNING: "url" field is missing or empty - skipping format, there is an error in extractor
Traceback (most recent call last):
  File "/Users/tony/Documents/proj/venv/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1956, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/Users/pulpix/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 787, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 848, in process_ie_result
    extra_info=extra_info)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 787, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 841, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/Users/tony/Documents/proj/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1544, in process_video_result
    if formats[0] is not info_dict:
IndexError: list index out of range

Description of your issue, suggested solution and other information

Note that it was working with the previous version of youtube-dl that I used: 2016.10.12.
I get the output above, when running :

youtube-dl -j 'http://delivery.vidible.tv/mrss/video/58ee9fc51de5a1227f8f7051?bcid=566f3b38e4b0318fa28337a0&mxid=54caa453e4b04263ba06ad53&enc=mp4' -v

This previous link on a web browser redirect to :

http://videos.vidible.tv/prod/2017-04/12/58ee9fc51de5a1227f8f7051_640x360_v2.mp4?RpbQ-fcj-04tHuY3dHHFXwoojpZTliz5MARu9c1hnEv_M7H-642Uq_NOk1rYnE6m

And this new link works with youtube-dl.

As you can see there is a warning at the beginning "url" field is missing or empty - skipping format, there is an error in the extractor.
But I think youtube-dl should take the redirection into account, so the redirection might be failing somewhere I guess.

@lucascharrierpulpix lucascharrierpulpix changed the title Vidible : if formats[0] is not info_dict Vidible : download fails - error : list index out of range Aug 17, 2017
@dstftw dstftw closed this in 5551d77 Aug 17, 2017
dstftw added a commit that referenced this issue Aug 17, 2017
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
1 participant
You can’t perform that action at this time.