aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/photobucket.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/photobucket.py')
-rw-r--r--hypervideo_dl/extractor/photobucket.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/photobucket.py b/hypervideo_dl/extractor/photobucket.py
index 6c8bbe1..53aebe2 100644
--- a/hypervideo_dl/extractor/photobucket.py
+++ b/hypervideo_dl/extractor/photobucket.py
@@ -1,7 +1,6 @@
from __future__ import unicode_literals
import json
-import re
from .common import InfoExtractor
from ..compat import compat_urllib_parse_unquote
@@ -23,7 +22,7 @@ class PhotobucketIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
video_id = mobj.group('id')
video_extension = mobj.group('ext')