From 74e684e8282c489235103814819e92d07bdc179d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 14 Feb 2020 01:03:42 +0100 Subject: [PATCH] [twitter] change default value for 'videos' to 'true' Every other 'videos' option defaulted to 'true', except Twitter. --- docs/configuration.rst | 2 +- docs/gallery-dl.conf | 2 +- gallery_dl/extractor/twitter.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 5d2ab588..8c3113fe 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1153,7 +1153,7 @@ extractor.twitter.videos ------------------------ =========== ===== Type ``bool`` or ``string`` -Default ``false`` +Default ``true`` Description Control video download behavior. * ``true``: Download videos and use `youtube-dl`_ to handle diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index f57ccc10..6796650e 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -151,7 +151,7 @@ "content": false, "retweets": true, "twitpic": false, - "videos": false + "videos": true }, "vsco": { diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index 6949eb12..8c32aeb5 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -34,7 +34,7 @@ class TwitterExtractor(Extractor): self.retweets = self.config("retweets", True) self.twitpic = self.config("twitpic", False) self.content = self.config("content", False) - self.videos = self.config("videos", False) + self.videos = self.config("videos", True) if self.content: self._emoji_sub = re.compile(