[twitter] add 'reply_to' metadata to replies
This commit is contained in:
@@ -146,6 +146,9 @@ class TwitterExtractor(Extractor):
|
|||||||
"nick": u["name"],
|
"nick": u["name"],
|
||||||
} for u in mentions]
|
} for u in mentions]
|
||||||
|
|
||||||
|
if "in_reply_to_screen_name" in tweet:
|
||||||
|
tdata["reply_to"] = tweet["in_reply_to_screen_name"]
|
||||||
|
|
||||||
if "full_text_quoted" in tweet:
|
if "full_text_quoted" in tweet:
|
||||||
tdata["content_quoted"] = tweet["full_text_quoted"]
|
tdata["content_quoted"] = tweet["full_text_quoted"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user