aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/tumblr.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/tumblr.py')
-rw-r--r--hypervideo_dl/extractor/tumblr.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/tumblr.py b/hypervideo_dl/extractor/tumblr.py
index ae584ad..adc3701 100644
--- a/hypervideo_dl/extractor/tumblr.py
+++ b/hypervideo_dl/extractor/tumblr.py
@@ -1,7 +1,6 @@
# coding: utf-8
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import (
@@ -143,7 +142,7 @@ class TumblrIE(InfoExtractor):
self.report_warning('Login has probably failed')
def _real_extract(self, url):
- m_url = re.match(self._VALID_URL, url)
+ m_url = self._match_valid_url(url)
video_id = m_url.group('id')
blog = m_url.group('blog_name')