[twitter] disable 'cards' by default
This commit is contained in:
@@ -2224,7 +2224,7 @@ extractor.twitter.cards
|
||||
Type
|
||||
``bool`` or ``string``
|
||||
Default
|
||||
``true``
|
||||
``false``
|
||||
Description
|
||||
Controls how to handle `Twitter Cards <https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards>`__.
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@
|
||||
{
|
||||
"username": null,
|
||||
"password": null,
|
||||
"cards": true,
|
||||
"cards": false,
|
||||
"conversations": false,
|
||||
"pinned": false,
|
||||
"quoted": false,
|
||||
|
||||
@@ -39,7 +39,7 @@ class TwitterExtractor(Extractor):
|
||||
self.pinned = self.config("pinned", False)
|
||||
self.quoted = self.config("quoted", False)
|
||||
self.videos = self.config("videos", True)
|
||||
self.cards = self.config("cards", True)
|
||||
self.cards = self.config("cards", False)
|
||||
self._user_cache = {}
|
||||
self._init_sizes()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user