aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/photobucket.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/photobucket.py')
-rw-r--r--youtube_dl/extractor/photobucket.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/youtube_dl/extractor/photobucket.py b/youtube_dl/extractor/photobucket.py
index cd7fe6f52..305b79773 100644
--- a/youtube_dl/extractor/photobucket.py
+++ b/youtube_dl/extractor/photobucket.py
@@ -16,6 +16,16 @@ class PhotobucketIE(InfoExtractor):
# Check if it's necessary to keep the old extracion process
_VALID_URL = r'(?:http://)?(?:[a-z0-9]+\.)?photobucket\.com/.*(([\?\&]current=)|_)(?P<id>.*)\.(?P<ext>(flv)|(mp4))'
IE_NAME = u'photobucket'
+ _TEST = {
+ u'url': u'http://media.photobucket.com/user/rachaneronas/media/TiredofLinkBuildingTryBacklinkMyDomaincom_zpsc0c3b9fa.mp4.html?filters[term]=search&filters[primary]=videos&filters[secondary]=images&sort=1&o=0',
+ u'file': u'zpsc0c3b9fa.mp4',
+ u'md5': u'7dabfb92b0a31f6c16cebc0f8e60ff99',
+ u'info_dict': {
+ u"upload_date": u"20130504",
+ u"uploader": u"rachaneronas",
+ u"title": u"Tired of Link Building? Try BacklinkMyDomain.com!"
+ }
+ }
def _real_extract(self, url):
# Extract id from URL