[twitter] rename 'text-only' to 'text-tweets' (#570)
This commit is contained in:
parent
da6806a161
commit
b5affc62aa
@ -1715,14 +1715,14 @@ Description
|
|||||||
will be taken from the original Tweets, not the Retweets.
|
will be taken from the original Tweets, not the Retweets.
|
||||||
|
|
||||||
|
|
||||||
extractor.twitter.text-only
|
extractor.twitter.text-tweets
|
||||||
---------------------------
|
-----------------------------
|
||||||
Type
|
Type
|
||||||
``bool``
|
``bool``
|
||||||
Default
|
Default
|
||||||
``false``
|
``false``
|
||||||
Description
|
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
|
This only has an effect with a ``metadata`` (or ``exec``) post processor
|
||||||
with `"event": "post" <metadata.event_>`_
|
with `"event": "post" <metadata.event_>`_
|
||||||
|
@ -259,6 +259,7 @@
|
|||||||
"quoted": true,
|
"quoted": true,
|
||||||
"replies": true,
|
"replies": true,
|
||||||
"retweets": true,
|
"retweets": true,
|
||||||
|
"text-tweets": false,
|
||||||
"twitpic": false,
|
"twitpic": false,
|
||||||
"users": "timeline",
|
"users": "timeline",
|
||||||
"videos": true
|
"videos": true
|
||||||
|
@ -32,7 +32,7 @@ class TwitterExtractor(Extractor):
|
|||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
Extractor.__init__(self, match)
|
Extractor.__init__(self, match)
|
||||||
self.user = match.group(1)
|
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.retweets = self.config("retweets", True)
|
||||||
self.replies = self.config("replies", True)
|
self.replies = self.config("replies", True)
|
||||||
self.twitpic = self.config("twitpic", False)
|
self.twitpic = self.config("twitpic", False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user