aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/presstv.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/presstv.py')
-rw-r--r--hypervideo_dl/extractor/presstv.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/presstv.py b/hypervideo_dl/extractor/presstv.py
index b5c2792..bfb2eb7 100644
--- a/hypervideo_dl/extractor/presstv.py
+++ b/hypervideo_dl/extractor/presstv.py
@@ -1,7 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import remove_start
@@ -25,7 +24,7 @@ class PressTVIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
video_id = mobj.group('id')
display_id = mobj.group('display_id') or video_id