diff options
author | MikeCol <[email protected]> | 2014-01-28 01:41:18 +0100 |
---|---|---|
committer | MikeCol <[email protected]> | 2014-01-28 01:41:18 +0100 |
commit | 9e8ee5455332a524b63a24af7542c04cc8729549 (patch) | |
tree | 0c496ec6aac7c428ea98ae01d79c5e69b73beb91 | |
parent | 075911d48ebbf0a7ea54565b08db867c99187d0f (diff) | |
download | youtube-dl-9e8ee5455332a524b63a24af7542c04cc8729549.tar.gz youtube-dl-9e8ee5455332a524b63a24af7542c04cc8729549.zip |
VALID_URL changed to match different kinds of Tumblr-URLs
-rw-r--r-- | youtube_dl/extractor/tumblr.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<blog_name>.*?)\.tumblr\.com/((post)|(video))/(?P<id>\d*)/(.*?)' + _VALID_URL = r'http://(?P<blog_name>.*?)\.tumblr\.com/((post)|(video))/(?P<id>\d*)($|/)' _TEST = { 'url': 'http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes', 'file': '54196191430.mp4', |