aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/tv5unis.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/tv5unis.py')
-rw-r--r--yt_dlp/extractor/tv5unis.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/tv5unis.py b/yt_dlp/extractor/tv5unis.py
index eabdc2271..398b85db5 100644
--- a/yt_dlp/extractor/tv5unis.py
+++ b/yt_dlp/extractor/tv5unis.py
@@ -1,7 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import (
@@ -16,7 +15,7 @@ class TV5UnisBaseIE(InfoExtractor):
_GEO_COUNTRIES = ['CA']
def _real_extract(self, url):
- groups = re.match(self._VALID_URL, url).groups()
+ groups = self._match_valid_url(url).groups()
product = self._download_json(
'https://api.tv5unis.ca/graphql', groups[0], query={
'query': '''{