aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/sport5.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/sport5.py')
-rw-r--r--hypervideo_dl/extractor/sport5.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/sport5.py b/hypervideo_dl/extractor/sport5.py
index a417b5a..35c57d6 100644
--- a/hypervideo_dl/extractor/sport5.py
+++ b/hypervideo_dl/extractor/sport5.py
@@ -1,7 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import ExtractorError
@@ -36,7 +35,7 @@ class Sport5IE(InfoExtractor):
]
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
media_id = mobj.group('id')
webpage = self._download_webpage(url, media_id)