aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/popcorntimes.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/popcorntimes.py')
-rw-r--r--hypervideo_dl/extractor/popcorntimes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/popcorntimes.py b/hypervideo_dl/extractor/popcorntimes.py
index 7bf7f98..5f9d0e7 100644
--- a/hypervideo_dl/extractor/popcorntimes.py
+++ b/hypervideo_dl/extractor/popcorntimes.py
@@ -1,7 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..compat import (
@@ -33,7 +32,7 @@ class PopcorntimesIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
video_id, display_id = mobj.group('id', 'display_id')
webpage = self._download_webpage(url, display_id)