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

FranceTVSite ERROR: Unable to extract video ID #17835

Closed
jesus2099 opened this issue Oct 8, 2018 · 7 comments
Closed

FranceTVSite ERROR: Unable to extract video ID #17835

jesus2099 opened this issue Oct 8, 2018 · 7 comments

Comments

@jesus2099
Copy link

@jesus2099 jesus2099 commented Oct 8, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

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
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

BUG REPORT

For FranceTVSite, prior to youtube-dl and ffmpeg updates — ffmpeg was 2016 and youtube-dl was I don’t remember — donwload was OK but A/V multiplex was NG.

Then I updated both youtube-dl and ffmpeg and it is now worse as download itself is now NG (ERROR: Unable to extract video ID):

E:\TV>youtube-dl --verbose https://www.france.tv/spectacles-et-culture/theatre-danse-opera/737497-heiva-i-paris-2018.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.france.tv/spectacles-et-culture/theatre-danse-opera/737497-heiva-i-paris-2018.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.10.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92132-g0a41a8bf29, ffprobe N-92132-g0a41a8bf29
[debug] Proxy map: {'http': 'http://proxy__._________.__:80', 'https': 'http://proxy__._________.__:80'}
[FranceTVSite] 737497-heiva-i-paris-2018: Downloading webpage
ERROR: Unable to extract video ID; 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 507, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\francetv.py", line 280, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 986, in _html_search_regex
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 977, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract video ID; 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.
@baptx
Copy link

@baptx baptx commented Apr 21, 2019

Same problem with France TV Info:

bapt@dell:~$ youtube-dl --verbose https://www.francetvinfo.fr/replay-jt/france-2/13-heures/jt-de-13h-du-jeudi-18-avril-2019_3255555.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.francetvinfo.fr/replay-jt/france-2/13-heures/jt-de-13h-du-jeudi-18-avril-2019_3255555.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.17
[debug] Python version 2.7.15+ (CPython) - Linux-4.18.0-17-generic-x86_64-with-Ubuntu-18.10-cosmic
[debug] exe versions: avconv 4.0.2-2, avprobe 4.0.2-2, ffmpeg 4.0.2-2, ffprobe 4.0.2-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[francetvinfo.fr] jt-de-13h-du-jeudi-18-avril-2019_3255555: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/francetv.py", line 377, in _real_extract
    webpage, 'video id').split('@')
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 1004, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicates: #20639 #20619

The workaround is to open the web console of your browser (F12 shortcurt in Firefox) before loading the video and copy the m3u8 URL in the network tab of the console.
Then you can download the video directly with ffmpeg / avconv and the URL you found, for example:

ffmpeg -i https://replayftv-vh.akamaihd.net/i/streaming-adaptatif/2019/S16/J4/202831164-5cb863154167f-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/index_4_av.m3u8?null=0 -c copy out.mp4

@baptx baptx mentioned this issue Apr 21, 2019
5 of 9 tasks complete
@dstftw dstftw closed this Jul 16, 2019
@jesus2099
Copy link
Author

@jesus2099 jesus2099 commented Jul 18, 2019

I was able to download two documentaries indeed this week so I guess it's why you closed this ticket. It's fixed. Thanks! 😀

@jesus2099
Copy link
Author

@jesus2099 jesus2099 commented Jul 29, 2019

Actually the issue is still there.
Where is the open ticket?
We reopen this one?

Example https://www.france.tv/spectacles-et-culture/theatre-et-danse/328767-37e-festival-international-du-cirque-de-monte-carlo.html

@cappert
Copy link

@cappert cappert commented Jul 29, 2019

@jesus2099 please open a new issue with URL and version. and paste the issue number here.

@baptx
Copy link

@baptx baptx commented Jul 29, 2019

@jesus2099 @cappert it may be better to keep the original issue open instead of closing and creating a duplicate issue every time. If you create a new issue, it would be nice to mention this issue also.

@cappert
Copy link

@cappert cappert commented Jul 29, 2019

Thanks for adding the URL.

@cappert
Copy link

@cappert cappert commented Jul 29, 2019

https://www.france.tv/spectacles-et-culture/theatre-et-danse/328767-37e-festival-international-du-cirque-de-monte-carlo.html downloads fine for me.

I'm downloading from France. Where are you located?
It might be geo-blocked.

the segments URLs are something like:
https://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2019/S30/J2/209283653-5d377c0c9603e-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/segment2_4_av.ts?null=0

(notice france-dom-tom, should mean France and its overseas territories)

edit: using a VPN to test downloading from other countries, I get the correct error ERROR: The video is not available from your location.
So if you get a different error, it's something else.

youtube-dl --version
2019.07.27
Log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.france.tv/spectacles-et-culture/theatre-et-danse/328767-37e-festival-international-du-cirque-de-monte-carlo.html', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out None, pref UTF-8
[debug] youtube-dl version 2019.07.27
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[FranceTVSite] 328767-37e-festival-international-du-cirque-de-monte-carlo: Downloading webpage
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading video JSON
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading geo restriction info
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading signed m3u8-download manifest URL
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading m3u8 information
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading signed hls_v5_os manifest URL
[FranceTV] 019c708b-e2d6-450f-a636-3b994418885b: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'http://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2019/S30/J2/209283653-5d377c0c9603e-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/index_4_av.m3u8?null=0'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 813
[download] Destination: 37e Festival international du cirque de Monte-Carlo-019c708b-e2d6-450f-a636-3b994418885b.mp4
[download]   0.0% of ~1.52GiB at Unknown speed ETA 95:30:59
...
[download] 100% of 1.48GiB in 05:40
[debug] ffmpeg command line: ffprobe -show_streams 'file:37e Festival international du cirque de Monte-Carlo-019c708b-e2d6-450f-a636-3b994418885b.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "37e Festival international du cirque de Monte-Carlo-019c708b-e2d6-450f-a636-3b994418885b.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:37e Festival international du cirque de Monte-Carlo-019c708b-e2d6-450f-a636-3b994418885b.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:37e Festival international du cirque de Monte-Carlo-019c708b-e2d6-450f-a636-3b994418885b.temp.mp4'
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
4 participants
You can’t perform that action at this time.