[justify]
[deviennenicolas@fedora ~]$ cd Téléchargements
[deviennenicolas@fedora Téléchargements]$ sudo su
[sudo] Mot de passe de deviennenicolas :
[root@fedora Téléchargements]# sudo mv /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py.bak
[root@fedora Téléchargements]# sudo cp francetv.py.txt /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py
[root@fedora Téléchargements]# sudo youtube-dl --version
2021.06.06
[root@fedora Téléchargements]# sudo rm /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py
[root@fedora Téléchargements]# sudo rm /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.pyc
rm: impossible de supprimer '/usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.pyc': Aucun fichier ou dossier de ce type
[root@fedora Téléchargements]# sudo mv /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py.bak /usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py
[root@fedora Téléchargements]# sudo youtube-dl --version
2021.06.06
[root@fedora Téléchargements]# youtube-dl -F https://www.france.tv/france-2/the-victim/1079175-the-victim.html --verbose
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.france.tv/france-2/the-victim/1079175-the-victim.html', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.7 (CPython) - Linux-5.14.9-200.fc34.x86_64-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[FranceTVSite] 1079175-the-victim: Downloading webpage
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading video JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); 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.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib64/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib64/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib64/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib64/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
[root@fedora Téléchargements]# youtube-dl https://www.france.tv/france-2/the-victim/1079175-the-victim.html
[FranceTVSite] 1079175-the-victim: Downloading webpage
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading video JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); 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.
[root@fedora Téléchargements]# exit
exit
[deviennenicolas@fedora Téléchargements]$ youtube-dl -F https://www.france.tv/france-2/the-victim/1079175-the-victim.html --verbose
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.france.tv/france-2/the-victim/1079175-the-victim.html', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.7 (CPython) - Linux-5.14.9-200.fc34.x86_64-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[FranceTVSite] 1079175-the-victim: Downloading webpage
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading video JSON
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading signed dash manifest URL
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading MPD manifest
WARNING: [FranceTV] Unknown MIME type application/mp4 in DASH manifest
ERROR: No video formats found; 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.9/site-packages/youtube_dl/YoutubeDL.py", line 814, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 835, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py", line 237, in _real_extract
return self._extract_video(video_id, catalog)
File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/francetv.py", line 197, in _extract_video
self._sort_formats(formats)
File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 1374, in _sort_formats
raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; 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.
[deviennenicolas@fedora Téléchargements]$ youtube-dl https://www.france.tv/france-2/the-victim/1079175-the-victim.html
[FranceTVSite] 1079175-the-victim: Downloading webpage
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading video JSON
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading signed dash manifest URL
[FranceTV] f67068fb-3fef-45fc-8a18-8924f72e80a9: Downloading MPD manifest
WARNING: [FranceTV] Unknown MIME type application/mp4 in DASH manifest
ERROR: No video formats found; 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.
Une personne parmi vous pourrait-elle m'aider de nouveau ?[/justify]