aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorMikeCol <MikeCol@gmx.net>2014-01-28 01:41:18 +0100
committerMikeCol <MikeCol@gmx.net>2014-01-28 01:41:18 +0100
commit9e8ee5455332a524b63a24af7542c04cc8729549 (patch)
tree0c496ec6aac7c428ea98ae01d79c5e69b73beb91 /youtube_dl
parent075911d48ebbf0a7ea54565b08db867c99187d0f (diff)
VALID_URL changed to match different kinds of Tumblr-URLs
Diffstat (limited to 'youtube_dl')
-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',