From 56e6aafbb39f0088169c34e8bb15c89bf87cda20 Mon Sep 17 00:00:00 2001 From: Igor Brigadir Date: Thu, 21 Oct 2021 23:06:19 +0100 Subject: [PATCH] tweak minimal-fileds geo again --- twarc/command2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twarc/command2.py b/twarc/command2.py index 63a155c9..259d35f9 100644 --- a/twarc/command2.py +++ b/twarc/command2.py @@ -580,13 +580,13 @@ def _process_expansions_shortcuts(kwargs): ] = "author_id,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id,attachments.poll_ids,attachments.media_keys,geo.place_id" kwargs[ "tweet_fields" - ] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets" + ] = "id,conversation_id,author_id,in_reply_to_user_id,referenced_tweets,geo" kwargs[ "user_fields" ] = "id,username,name,pinned_tweet_id" # pinned_tweet_id is the only extra one, id,username,name are always returned. kwargs["media_fields"] = "media_key" kwargs["poll_fields"] = "id" - kwargs["place_fields"] = "id,geo" + kwargs["place_fields"] = "id" if kwargs.pop("no_context_annotations", None): kwargs[