[twitter] rename 'text-only' to 'text-tweets' (#570)

pull/1578/head
Mike Fährmann 3 years ago
parent da6806a161
commit b5affc62aa
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1715,14 +1715,14 @@ Description
will be taken from the original Tweets, not the Retweets.
extractor.twitter.text-only
---------------------------
extractor.twitter.text-tweets
-----------------------------
Type
``bool``
Default
``false``
Description
Produce metadata for Tweets without media content.
Also emit metadata for text-only Tweets without media content.
This only has an effect with a ``metadata`` (or ``exec``) post processor
with `"event": "post" <metadata.event_>`_

@ -259,6 +259,7 @@
"quoted": true,
"replies": true,
"retweets": true,
"text-tweets": false,
"twitpic": false,
"users": "timeline",
"videos": true

@ -32,7 +32,7 @@ class TwitterExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self, match)
self.user = match.group(1)
self.textonly = self.config("text-only", False)
self.textonly = self.config("text-tweets", False)
self.retweets = self.config("retweets", True)
self.replies = self.config("replies", True)
self.twitpic = self.config("twitpic", False)

Loading…
Cancel
Save