aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-07-10 10:13:47 -0500
committerGitHub <noreply@github.com>2024-07-10 15:13:47 +0000
commit9b95a6765a5f6325af99c4aca961587f0c426e8c (patch)
tree831d81554a8cd01abe50ddd72c485ff3792e6988
parent4f8448896e6a664956ec2aa3d9fe932a931fb711 (diff)
[ie/tv5monde] Support browser impersonation (#10417)
Closes #10153 Authored by: bashonly
-rw-r--r--yt_dlp/extractor/tv5mondeplus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/tv5mondeplus.py b/yt_dlp/extractor/tv5mondeplus.py
index 52ff230f2..15e9975c6 100644
--- a/yt_dlp/extractor/tv5mondeplus.py
+++ b/yt_dlp/extractor/tv5mondeplus.py
@@ -96,7 +96,7 @@ class TV5MondePlusIE(InfoExtractor):
def _real_extract(self, url):
display_id = self._match_id(url)
- webpage = self._download_webpage(url, display_id)
+ webpage = self._download_webpage(url, display_id, impersonate=True)
if ">Ce programme n'est malheureusement pas disponible pour votre zone géographique.<" in webpage:
self.raise_geo_restricted(countries=['FR'])