Repository: yt-dlp
Issue: Live stream TF1.FR not detected (with solution)
Labels: site-request,geo-blocked

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2021.10.10**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/ytdl-org/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [X] I've searched 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)
- [X] 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 am willing to share it if required

### Region

France

### Example URLs

- live stream not detected  with https://www.tf1.fr/tf1/direct

### Description

live stream not detected  with https://www.tf1.fr/tf1/direct 

**Solution in Perl to get the MPD url :**

> $ua->get("https://mediainfo.tf1.fr/mediainfocombo/L_TF1?context=MYTF1&pver=4001000");
> 	$content=$response->content;
> 
> 	($url)=$content=~/\,\"url\"\:\"([^\"]+\.mpd)\"/mi;

### Verbose log

```shell
yt-dlp -U
yt-dlp is up to date (2021.10.10)

yt-dlp -Uv "https://www.tf1.fr/tf1/direct"
[debug] Command-line config: ['-Uv', 'https://www.tf1.fr/tf1/direct']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.10.10
[debug] Python version 3.7.9 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 2021-09-16-git-8f92a1862a-essentials_build-www.gyan.dev, ffprobe 2021-09-16-git-8f92a1862a-essentials_build-www.gyan.dev, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] ANSI escape support: stdout = True, stderr = True
[debug] Proxy map: {}
yt-dlp is up to date (2021.10.10)
[debug] [generic] Extracting URL: https://www.tf1.fr/tf1/direct
[generic] direct: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] direct: Downloading webpage
[generic] direct: Extracting information
ERROR: [generic] Unsupported URL: https://www.tf1.fr/tf1/direct
Traceback (most recent call last):
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\extractor\common.py", line 589, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\extractor\generic.py", line 3706, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.tf1.fr/tf1/direct
Traceback (most recent call last):
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\extractor\common.py", line 589, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\extractor\generic.py", line 3706, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.tf1.fr/tf1/direct

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\YoutubeDL.py", line 1263, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\YoutubeDL.py", line 1288, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\mezodia\AppData\Roaming\Python\Python37\site-packages\yt_dlp\extractor\common.py", line 606, in extract
    e.msg, video_id=video_id, ie=self.IE_NAME, tb=e.traceback, expected=e.expected, cause=e.cause)
yt_dlp.utils.ExtractorError: [generic] Unsupported URL: https://www.tf1.fr/tf1/direct
```