aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-30 22:26:43 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-30 22:26:43 +0600
commitafca767d196dee68b254720706a2ba191455e99b (patch)
treefe74b48e57e2cb51080c74ca4abee175109d34ef /youtube_dl
parent6e359a1534e6a20acb53e1268ec77b6b92765e22 (diff)
[tumblr] Improve _VALID_URL (Closes #9027)
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 e5bcf7798..4d8b57111 100644
--- a/youtube_dl/extractor/tumblr.py
+++ b/youtube_dl/extractor/tumblr.py
@@ -8,7 +8,7 @@ from ..utils import int_or_none
class TumblrIE(InfoExtractor):
- _VALID_URL = r'https?://(?P<blog_name>.*?)\.tumblr\.com/(?:post|video)/(?P<id>[0-9]+)(?:$|[/?#])'
+ _VALID_URL = r'https?://(?P<blog_name>[^/?#&]+)\.tumblr\.com/(?:post|video)/(?P<id>[0-9]+)(?:$|[/?#])'
_TESTS = [{
'url': 'http://tatianamaslanydaily.tumblr.com/post/54196191430/orphan-black-dvd-extra-behind-the-scenes',
'md5': '479bb068e5b16462f5176a6828829767',