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

Downloads from francetvinfo.fr not working #28584

Closed
5 tasks done
sdan41517 opened this issue Mar 29, 2021 · 2 comments
Closed
5 tasks done

Downloads from francetvinfo.fr not working #28584

sdan41517 opened this issue Mar 29, 2021 · 2 comments

Comments

@sdan41517
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.03.25
  • 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 --verbose https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/gironde/ampute-apres-un-accident-un-viticulteur-du-medoc-en-litige-contre-un-assureur-pour-sauver-son-domaine-1982857.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/gironde/ampute-apres-un-accident-un-viticulteur-du-medoc-en-litige-contre-un-assureur-pour-sauver-son-domaine-1982857.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.25
[debug] Python version 2.7.16 (CPython) - Darwin-19.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[francetvinfo.fr] ampute-apres-un-accident-un-viticulteur-du-medoc-en-litige-contre-un-assureur-pour-sauver-son-domaine-1982857: 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 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 403, in _real_extract
    webpage, 'video id')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, 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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Hi, I am trying to download a video from the link below and it throws an error stating "Unable to extract video id". I would appreciate if someone could fix it.

https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/gironde/ampute-apres-un-accident-un-viticulteur-du-medoc-en-litige-contre-un-assureur-pour-sauver-son-domaine-1982857.html

Many thanks!

@dstftw dstftw closed this as completed in 287e50b Mar 29, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Mar 30, 2021
* https://github.com/ytdl-org/youtube-dl:
  [vlive] fix inkey request(closes ytdl-org#28589)
  [francetvinfo] Improve video id extraction (closes ytdl-org#28584)
@someziggyman
Copy link

someziggyman commented Mar 31, 2021

Thank you so much for this fix.
Indeed it works for the initially reported link: https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/gironde/ampute-apres-un-accident-un-viticulteur-du-medoc-en-litige-contre-un-assureur-pour-sauver-son-domaine-1982857.html

But if still fails with ERROR: Unable to extract video id for this one:
https://www.francetvinfo.fr/monde/afrique/mali/guerre-au-mali/barkhane-au-mali-l-onu-accuse-la-france-d-avoir-tue-des-civils_4353485.html

Here's the log:

youtube-dl -v -F https://www.francetvinfo.fr/monde/afrique/mali/guerre-au-mali/barkhane-au-mali-l-onu-accuse-la-france-d-avoir-tue-des-civils_4353485.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.francetvinfo.fr/monde/afrique/mali/guerre-au-mali/barkhane-au-mali-l-onu-accuse-la-france-d-avoir-tue-des-civils_4353485.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.31
[debug] Python version 2.7.16 (CPython) - Darwin-20.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[francetvinfo.fr] barkhane-au-mali-l-onu-accuse-la-france-d-avoir-tue-des-civils_4353485: 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 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 404, in _real_extract
webpage, 'video id')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
@someziggyman
Copy link

The latest improvement leshasmlesha@b384649
still does not seem to work for https://www.francetvinfo.fr/monde/islande-l-eruption-d-un-volcan-attire-lesfoules_4359657.html

Getting ERROR: Unable to extract video id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants