aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/pornhd.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/pornhd.py')
-rw-r--r--hypervideo_dl/extractor/pornhd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/pornhd.py b/hypervideo_dl/extractor/pornhd.py
index c6052ac..9dbd72f 100644
--- a/hypervideo_dl/extractor/pornhd.py
+++ b/hypervideo_dl/extractor/pornhd.py
@@ -1,6 +1,5 @@
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import (
@@ -47,7 +46,7 @@ class PornHdIE(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')