1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-30 18:05:37 +08:00

Merge remote-tracking branch 'mike/tumblr-url'

This commit is contained in:
Philipp Hagemeister 2014-01-28 03:35:52 +01:00
commit 218c15ab59

View File

@ -9,7 +9,7 @@ from ..utils import (
class TumblrIE(InfoExtractor): class TumblrIE(InfoExtractor):
_VALID_URL = r'http://(?P<blog_name>.*?)\.tumblr\.com/((post)|(video))/(?P<id>\d*)/(.*?)' _VALID_URL = r'http://(?P<blog_name>.*?)\.tumblr\.com/((post)|(video))/(?P<id>\d*)($|/)'
_TEST = { _TEST = {
'url': 'http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes', 'url': 'http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes',
'file': '54196191430.mp4', 'file': '54196191430.mp4',