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