aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/photobucket.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/photobucket.py')
-rw-r--r--yt_dlp/extractor/photobucket.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/photobucket.py b/yt_dlp/extractor/photobucket.py
index 6c8bbe1d9..53aebe2d9 100644
--- a/yt_dlp/extractor/photobucket.py
+++ b/yt_dlp/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')