question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[France.tv] download fails with IndexError: list index out of range (not geo-restricted)

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2020.03.24
  • 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 issues including closed ones

Verbose log

youtube-dl -v -F https://www.france.tv/france-3/l-opera-de-paris/969039-les-contes-d-hoffmann-d-offenbach-a-l-opera-de-paris.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.france.tv/france-3/l-opera-de-paris/969039-les-contes-d-hoffmann-d-offenbach-a-l-opera-de-paris.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[FranceTVSite] 969039-les-contes-d-hoffmann-d-offenbach-a-l-opera-de-paris: Downloading webpage
[FranceTV] a26f304c-0a9f-494f-9efd-daab5a69a6cf: Downloading video JSON
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/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>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 870, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 209, in _real_extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 103, in _extract_video
IndexError: list index out of range

Description

This video is Not geo-restricted. Tried to search for the same issue. This seems to be a brand new one.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mdhoogecommented, Apr 24, 2020

Maybe this could help — this is my “workaround”: In Firefox, open the Network monitor (Ctrl-Shift-E) and filter on “Media” only. Then load the page. The first line if of the kind https://ftvingest-vh.akamaihd.net/i/ingest/streaming-adaptatif/.../master.m3u8?audiotrack.... If you provide this URL to youtube-dl, it manages to download the raw (?) video & audio. I’m not sure whether this is re-encoded or not on the fly…

0reactions
remitaminecommented, Nov 18, 2020

No longer accessible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

List Index Out of Range – Python Error Message Solved
You'll get the Indexerror: list index out of range error when you try and access an item using a value that is out...
Read more >
IndexError: list index out of range - while fitting the PAR model ...
Python version: 3.8.9; Operating System: MAC. Error Description. I tried to synthesize event data using the sdv PAR model. However, I get an ......
Read more >
Python IndexError: List Index Out of Range Error Explained
We can see here that the index error occurs on the last item we try to access. The simplest solution is to simply...
Read more >
Python IndexError: List Index Out of Range [Easy Fix] - Finxter
One frequent bug in Python is the IndexError: list index out of range . So, what does this error message mean?
Read more >
How to Fix Index Error: List Index Out of Range - YouTube
Index values start at zero, or a value you assign but will not exceed the length of the list. As a result, once...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found