]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/photobucket.py
[cleanup] Use `_html_extract_title`
[yt-dlp.git] / yt_dlp / extractor / photobucket.py
index 6c8bbe1d95c3c4972baa4c956ad1a62ef6518e2d..53aebe2d924628f2b78b4c4a39857b848f359a5b 100644 (file)
@@ -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')