mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[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.
|
||||
|
||||
|
||||
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…
Reference in New Issue
Block a user