aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/bongacams.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/bongacams.py')
-rw-r--r--hypervideo_dl/extractor/bongacams.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/bongacams.py b/hypervideo_dl/extractor/bongacams.py
index 180542f..9e75511 100644
--- a/hypervideo_dl/extractor/bongacams.py
+++ b/hypervideo_dl/extractor/bongacams.py
@@ -1,6 +1,5 @@
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..compat import compat_str
@@ -22,7 +21,7 @@ class BongaCamsIE(InfoExtractor):
}]
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
host = mobj.group('host')
channel_id = mobj.group('id')