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 #20029

Closed
LateLament opened this issue Feb 27, 2019 · 2 comments
Closed

[FranceTVSite] ERROR: Unable to extract video ID #20029

LateLament opened this issue Feb 27, 2019 · 2 comments

Comments

@LateLament
Copy link

@LateLament LateLament commented Feb 27, 2019

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. 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 2019.02.18

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

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:

[debug] System config: ['--no-mtime', '--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.france.tv/france-5/embarquement-immediat/903029-escale-a-rangoun.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.02.18
[debug] Python version 3.7.2 (CPython) - Linux-4.20.12-arch1-1-ARCH-x86_64-with-arch
[debug] exe versions: avconv 4.1.1, ffmpeg 4.1.1, ffprobe 4.1.1, phantomjs 18, rtmpdump 2.4
[debug] Proxy map: {}
[FranceTVSite] 903029-escale-a-rangoun: 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/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 794, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/francetv.py", line 280, in _real_extract
    webpage, 'video ID').split('@')
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 992, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 983, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
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; 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.

Description of your issue, suggested solution and other information

Same issue for all videos. It seems that the site has changed its player + video id/url

@NiesmialyGosc
Copy link

@NiesmialyGosc NiesmialyGosc commented Feb 27, 2019

The same here. This issue requires urgent attention. Thank you in advance team!

@ghost ghost mentioned this issue Feb 27, 2019
2 of 9 tasks complete
@dstftw dstftw closed this in 9d9a867 Feb 28, 2019
@LateLament
Copy link
Author

@LateLament LateLament commented Mar 7, 2019

Same issue today
change
video_id = self._search_regex( r'(?:data-main-video\s*=|videoId\s*:)\s*(["\'])(?P<id>(?:(?!\1).)+)\1', webpage, 'video id', default=None, group='id')
to
video_id = self._search_regex( r'(?:data-main-video\s*=|videoId"?\s*:)\s*(["\'])(?P<id>(?:(?!\1).)+)\1', webpage, 'video id', default=None, group='id')
works

@ytdl-org ytdl-org deleted a comment from ytrezq Jan 4, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.