[twitter] change default value for 'videos' to 'true'
Every other 'videos' option defaulted to 'true', except Twitter.
This commit is contained in:
parent
ab13f81fd7
commit
74e684e828
@ -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
|
||||
|
@ -151,7 +151,7 @@
|
||||
"content": false,
|
||||
"retweets": true,
|
||||
"twitpic": false,
|
||||
"videos": false
|
||||
"videos": true
|
||||
},
|
||||
"vsco":
|
||||
{
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user