Repository: yt-dlp
Issue: [FranceTVSite] Unable to extract video ID / francetv france.tv
Labels: geo-blocked,site-bug,patch-available

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [x] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [x] I'm reporting that yt-dlp is broken on a **supported** site
- [x] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [x] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [x] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [x] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [x] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

France

### Provide a description that is worded well enough to be understood

Today, trying to use yt-dlp on France TV URLs doesn't work:
```
$ ~/yt-dlp/yt-dlp --restrict-filenames https://www.france.tv/france-3/l-epopee-des-vignerons/3843847-emission-du-mercredi-7-septembre-2022.html
[FranceTVSite] Extracting URL: https://www.france.tv/france-3/l-epopee-des-vignerons/3843847-emission-du-mercredi-7-septembre-2022.html
[FranceTVSite] 3843847-emission-du-mercredi-7-septembre-2022: Downloading webpage
ERROR: [FranceTVSite] 3843847-emission-du-mercredi-7-septembre-2022: Unable to extract video ID; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

$ ~/yt-dlp/yt-dlp --restrict-filenames https://www.france.tv/documentaires/documentaires-art-et-culture/6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier.html
[FranceTVSite] Extracting URL: https://www.france.tv/documentaires/documentaires-art-et-culture/6837847-une-journee-extra-ordina...l-opera-garnier.html
[FranceTVSite] 6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier: Downloading webpage
ERROR: [FranceTVSite] 6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier: Unable to extract video ID; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
```

### Provide verbose output that clearly demonstrates the problem

- [x] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [x] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', '--restrict-filenames', 'https://www.france.tv/documentaires/documentaires-art-et-culture/6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier.html']
[debug] Encodings: locale ISO-8859-1, fs iso8859-1, pref ISO-8859-1, out iso8859-1, error iso8859-1, screen iso8859-1
[debug] yt-dlp version stable@2025.01.26 from yt-dlp/yt-dlp [3b4531934] (zip)
[debug] Lazy loading extractors is disabled
[debug] Python 3.12.8 (CPython x86_64 64bit) - Linux-6.12.11-amd64-x86_64-with-glibc2.40 (OpenSSL 3.4.0 22 Oct 2024, glibc 2.40)
[debug] exe versions: ffmpeg 7.1 (fdk,setts), ffprobe 7.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.12.14, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.3, sqlite3-3.46.1, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1839 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2025.01.26 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.01.26 from yt-dlp/yt-dlp)
[FranceTVSite] Extracting URL: https://www.france.tv/documentaires/documentaires-art-et-culture/6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier.html
[FranceTVSite] 6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier: Downloading webpage
ERROR: [FranceTVSite] 6837847-une-journee-extra-ordinaire-24h-a-l-opera-garnier: Unable to extract video ID; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/home/dw/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 742, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dw/yt-dlp/yt-dlp/yt_dlp/extractor/francetv.py", line 349, in _real_extract
    video_id = self._html_search_regex(
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dw/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 1382, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/dw/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 1346, in _search_regex
    raise RegexNotFoundError(f'Unable to extract {_name}')
```