summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-28 03:35:52 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-28 03:35:52 +0100
commit218c15ab5935082f3e5c8589f6eaf0e437919a5d (patch)
tree8c75a8cb4735784f2e57edaeee6dafcf941ee523
parent17ab4d3b5e3075d32a0a93422e40f61ef4919d7d (diff)
parent9e8ee5455332a524b63a24af7542c04cc8729549 (diff)
downloadyoutube-dl-218c15ab5935082f3e5c8589f6eaf0e437919a5d.tar.gz
youtube-dl-218c15ab5935082f3e5c8589f6eaf0e437919a5d.tar.xz
youtube-dl-218c15ab5935082f3e5c8589f6eaf0e437919a5d.zip
Merge remote-tracking branch 'mike/tumblr-url'
-rw-r--r--youtube_dl/extractor/tumblr.py2
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',