From: MikeCol Date: Tue, 28 Jan 2014 00:41:18 +0000 (+0100) Subject: VALID_URL changed to match different kinds of Tumblr-URLs X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9e8ee5455332a524b63a24af7542c04cc8729549;p=youtube-dl VALID_URL changed to match different kinds of Tumblr-URLs --- diff --git a/youtube_dl/extractor/tumblr.py b/youtube_dl/extractor/tumblr.py index f7bc77c48..544369068 100644 --- a/youtube_dl/extractor/tumblr.py +++ b/youtube_dl/extractor/tumblr.py @@ -9,7 +9,7 @@ from ..utils import ( class TumblrIE(InfoExtractor): - _VALID_URL = r'http://(?P.*?)\.tumblr\.com/((post)|(video))/(?P\d*)/(.*?)' + _VALID_URL = r'http://(?P.*?)\.tumblr\.com/((post)|(video))/(?P\d*)($|/)' _TEST = { 'url': 'http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes', 'file': '54196191430.mp4',