aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/tv5unis.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/tv5unis.py')
-rw-r--r--hypervideo_dl/extractor/tv5unis.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/tv5unis.py b/hypervideo_dl/extractor/tv5unis.py
index eabdc22..398b85d 100644
--- a/hypervideo_dl/extractor/tv5unis.py
+++ b/hypervideo_dl/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': '''{