[tumblr] change default values for post types and inline media

This commit is contained in:
Mike Fährmann
2018-12-26 14:35:59 +01:00
parent 5be95034ba
commit 28f9539551
3 changed files with 6 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ class TumblrExtractor(Extractor):
self.types = self._setup_posttypes()
self.avatar = self.config("avatar", False)
self.inline = self.config("inline", False)
self.inline = self.config("inline", True)
self.reblogs = self.config("reblogs", True)
self.external = self.config("external", False)
@@ -131,7 +131,7 @@ class TumblrExtractor(Extractor):
"""Return an iterable containing all relevant posts"""
def _setup_posttypes(self):
types = self.config("posts", ("photo",))
types = self.config("posts", "all")
if types == "all":
return POST_TYPES