aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/einthusan.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/einthusan.py')
-rw-r--r--hypervideo_dl/extractor/einthusan.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/einthusan.py b/hypervideo_dl/extractor/einthusan.py
index 4e0f8bc..7af279a 100644
--- a/hypervideo_dl/extractor/einthusan.py
+++ b/hypervideo_dl/extractor/einthusan.py
@@ -2,7 +2,6 @@
from __future__ import unicode_literals
import json
-import re
from .common import InfoExtractor
from ..compat import (
@@ -48,7 +47,7 @@ class EinthusanIE(InfoExtractor):
)).decode('utf-8'), video_id)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
host = mobj.group('host')
video_id = mobj.group('id')