aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/canalplus.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/canalplus.py')
-rw-r--r--yt_dlp/extractor/canalplus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/canalplus.py b/yt_dlp/extractor/canalplus.py
index b7e2f9dd4..3ff5c3fbf 100644
--- a/yt_dlp/extractor/canalplus.py
+++ b/yt_dlp/extractor/canalplus.py
@@ -64,7 +64,7 @@ class CanalplusIE(InfoExtractor):
# response = self._request_webpage(
# HEADRequest(fmt_url), video_id,
# 'Checking if the video is georestricted')
- # if '/blocage' in response.geturl():
+ # if '/blocage' in response.url:
# raise ExtractorError(
# 'The video is not available in your country',
# expected=True)