From b7a9f6cc497e27570d24d2ad8e0a006d4b0b347a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 11 Dec 2018 20:02:48 +0100 Subject: [PATCH] [tumblr] improve inline extraction (#137) --- gallery_dl/extractor/tumblr.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gallery_dl/extractor/tumblr.py b/gallery_dl/extractor/tumblr.py index 6f7516b4..4c62fa3a 100644 --- a/gallery_dl/extractor/tumblr.py +++ b/gallery_dl/extractor/tumblr.py @@ -104,16 +104,16 @@ class TumblrExtractor(Extractor): if "video_url" in post: # type: "video" yield self._prepare(_original_video(post["video_url"]), post) - if self.inline: # inline media - for key in ("body", "description", "source"): - if key not in post: - continue - for url in re.findall('