aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/tvplay.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/tvplay.py')
-rw-r--r--yt_dlp/extractor/tvplay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/tvplay.py b/yt_dlp/extractor/tvplay.py
index 739c61cdd..c60af111c 100644
--- a/yt_dlp/extractor/tvplay.py
+++ b/yt_dlp/extractor/tvplay.py
@@ -381,7 +381,7 @@ class ViafreeIE(InfoExtractor):
return False if TVPlayIE.suitable(url) else super(ViafreeIE, cls).suitable(url)
def _real_extract(self, url):
- country, path = re.match(self._VALID_URL, url).groups()
+ country, path = self._match_valid_url(url).groups()
content = self._download_json(
'https://viafree-content.mtg-api.com/viafree-content/v1/%s/path/%s' % (country, path), path)
program = content['_embedded']['viafreeBlocks'][0]['_embedded']['program']