more data

This commit is contained in:
Brandon Thomas committed 2021-05-09 22:59:36 -04:00
1 parent 14d99b44b7
commit 2787fa7d67
1 file changed
+62 -2
+62 -2
View File
@@ -56,8 +56,8 @@ async fn main() -> anyhow::Result<()>
/*
Here's an @vocodes mention:
===========================
Here's an @vocodes mention by @vocodesbot:
==========================================
Tweet: Tweet { coordinates: None, created_at: 2021-05-09T19:00:01Z, current_user_retweet: None,
display_text_range: None, entities: TweetEntities { hashtags: [], symbols: [], urls: [],
@@ -84,6 +84,66 @@ async fn main() -> anyhow::Result<()>
statuses_count: 64, time_zone: None, url: Some("https://vo.codes"), utc_offset: None, verified: false,
withheld_in_countries: Some([]), withheld_scope: None }), withheld_copyright: false, withheld_in_countries: None, withheld_scope: None }
Here's an @vocodes retweet (not quote tweet) by @vocodesbot
============================================================
Tweet: Tweet { coordinates: None, created_at: 2021-05-09T19:12:44Z, current_user_retweet: None, display_text_range: None,
entities: TweetEntities { hashtags: [], symbols: [], urls: [],
user_mentions: [MentionEntity { id: 1297106371238932481, range: (3, 11), name: "vocodes", screen_name: "vocodes" }],
media: None }, extended_entities: None, favorite_count: 0, favorited: Some(false), filter_level: Some(Low), id: 1391471213713805315,
in_reply_to_user_id: None, in_reply_to_screen_name: None, in_reply_to_status_id: None, lang: Some("en"), place: None,
possibly_sensitive: None, quoted_status_id: None, quoted_status: None, retweet_count: 0, retweeted: Some(false),
retweeted_status: Some(Tweet { coordinates: None, created_at: 2021-04-25T02:49:40Z, current_user_retweet: None, display_text_range: Some((0, 140)),
entities: TweetEntities { hashtags: [], symbols: [], urls: [UrlEntity { display_url: "twitter.com/i/web/status/1…",
expanded_url: Some("https://twitter.com/i/web/status/1386150388873715712"), range: (117, 140),
url: "https://t.co/x5JPIBKr3x" }], user_mentions: [], media: None }, extended_entities: None,
favorite_count: 17, favorited: Some(false), filter_level: Some(Low), id: 1386150388873715712,
in_reply_to_user_id: None, in_reply_to_screen_name: None, in_reply_to_status_id: None, lang: Some("en"),
place: None, possibly_sensitive: Some(false), quoted_status_id: None, quoted_status: None, retweet_count: 11,
retweeted: Some(false), retweeted_status: None, source: Some(TweetSource { name: "Twitter Web App",
url: "https://mobile.twitter.com" }),
text: "You\'ll also get Joker (and JFK) in tomorrow\'s stream. I haven\'t scheduled it yet, but I\'m
thinking 2 or 3 PM EDT. I\'ll post in a bit. https://t.co/T97CR9BXcf",
truncated: true, user: Some(TwitterUser { contributors_enabled: false, created_at: 2020-08-22T09:41:05Z,
default_profile: true, default_profile_image: false, description: Some("It looks like a toy now, but
I want to democratize Hollywood with tech. \ntext to speech: https://t.co/htL5ArOIPW\ninteractive
twitch stream: https://t.co/qMvlOF5Zji\nMade by @echelon"), entities: UserEntities { description:
UserEntityDetail { urls: [] }, url: None }, favourites_count: 602, follow_request_sent: None,
followers_count: 2264, friends_count: 129, geo_enabled: false, id: 1297106371238932481, is_translator: false,
lang: None, listed_count: 7, location: Some("Atlanta, GA"), name: "vocodes", profile_background_color: "F5F8FA",
profile_background_image_url: Some(""), profile_background_image_url_https: Some(""),
profile_background_tile: Some(false), profile_banner_url: Some("https://pbs.twimg.com/profile_banners/1297106371238932481/1599623560"),
profile_image_url: "http://pbs.twimg.com/profile_images/1305039188023222273/NmVznkUO_normal.png",
profile_image_url_https: "https://pbs.twimg.com/profile_images/1305039188023222273/NmVznkUO_normal.png",
profile_link_color: "1DA1F2", profile_sidebar_border_color: "C0DEED", profile_sidebar_fill_color: "DDEEF6",
profile_text_color: "333333", profile_use_background_image: true, protected: false, screen_name: "vocodes",
show_all_inline_media: None, status: None, statuses_count: 303, time_zone: None, url: Some("https://vo.codes"),
utc_offset: None, verified: false, withheld_in_countries: Some([]), withheld_scope: None }),
withheld_copyright: false, withheld_in_countries: None, withheld_scope: None }),
source: Some(TweetSource { name: "Twitter Web App", url: "https://mobile.twitter.com" }),
text: "RT @vocodes: You\'ll also get Joker (and JFK) in tomorrow\'s stream. I haven\'t scheduled it yet, but
I\'m thinking 2 or 3 PM EDT. I\'ll post in…", truncated: false, user: Some(TwitterUser { contributors_enabled: false,
created_at: 2020-09-27T02:04:35Z, default_profile: true, default_profile_image: false, description: Some("This is a bot
account for @vocodes / https://t.co/EDUojadeKa, created by @echelon. You can make it quote you by mentioning it.
Please don\'t use this for evil. DEEP FAKE."), entities: UserEntities { description:
UserEntityDetail { urls: [] }, url: None }, favourites_count: 2, follow_request_sent: None, followers_count: 30,
friends_count: 1, geo_enabled: true, id: 1310037441441599488, is_translator: false, lang: None, listed_count: 1,
location: Some("Atlanta, GA"), name: "vocodes bot", profile_background_color: "F5F8FA", profile_background_image_url: Some(""),
profile_background_image_url_https: Some(""), profile_background_tile: Some(false), profile_banner_url: None,
profile_image_url: "http://pbs.twimg.com/profile_images/1310044084506112000/vVJwVAcf_normal.png",
profile_image_url_https: "https://pbs.twimg.com/profile_images/1310044084506112000/vVJwVAcf_normal.png",
profile_link_color: "1DA1F2", profile_sidebar_border_color: "C0DEED", profile_sidebar_fill_color: "DDEEF6",
profile_text_color: "333333", profile_use_background_image: true, protected: false, screen_name: "VocodesBot",
show_all_inline_media: None, status: None, statuses_count: 65, time_zone: None, url: Some("https://vo.codes"), utc_offset: None,
verified: false, withheld_in_countries: Some([]), withheld_scope: None }), withheld_copyright: false, withheld_in_countries: None,
withheld_scope: None }
*/
let stream = egg_mode::stream::filter()