31 Commits

Author SHA1 Message Date
d1d80a91cd Add 'gofmt' linter 2022-03-13 17:13:40 -07:00
f41d072573 Improve error handling some more 2022-03-06 20:31:04 -08:00
15d7cd77a1 Do slightly more proper error handling 2022-03-06 19:27:30 -08:00
26ab9ec937 Create new Timestamp helper type 2022-03-06 18:09:43 -08:00
f22f15f3d9 Prevent quoted-tweet URLs from being added as URLs (they should just be quote-tweets) 2022-03-02 14:34:42 -08:00
508670248e Add list_followed subcommand 2022-02-28 16:06:58 -08:00
52370a4f9d Recognized deleted users when scraping, create a user with a fake ID 2022-02-27 23:06:06 -08:00
772fa247f7 Add creation of unknown users with known handles (i.e., deleted accounts) 2022-02-26 22:09:27 -08:00
373b9ce16e Add IsFollowed field on Users 2022-02-26 15:58:30 -08:00
dc24ce5ad4 Fix tweet URL parsing for urls with the stupid '?s=20' etc 2022-01-10 11:41:03 -05:00
d9f9c9de83 Integrate url expander into Tweet URL parser 2022-01-08 18:36:23 -05:00
e71e32228c Get rid of tiny default profile images (default image is small enough, doesn't need a tiny version) 2022-01-07 17:33:26 -05:00
12f1cc6728 Fix some problems associated with banned users 2022-01-07 16:23:02 -05:00
1ea97e669a Update tiny profile image logic for users with no profile image (including banned users) 2022-01-06 15:21:27 -05:00
1a9ba75355 Add checking for banned users 2022-01-06 14:39:31 -05:00
b1c7db6540 Add helper method to parse tweet URLs 2022-01-06 13:43:22 -05:00
f25f1ae024 Change profile image downloading to use tiny profile image if appropriate 2022-01-05 12:37:11 -05:00
80f6787aa0 Add getter for User tiny-profile-image URL 2022-01-04 13:15:47 -05:00
2698bd4fd7 Fix linting error 2021-08-10 22:08:01 -07:00
932b42eafc Should be using the full-sized profile images, not the 'normal' ones 2021-08-10 22:01:31 -07:00
655c968614 Add LocalPath fields for BannerImage and ProfileImage on a User 2021-08-10 19:51:56 -07:00
9734c09426 Add downloading for media in tweets 2021-08-07 16:51:38 -07:00
c803794a0f Change TweetID to be an int64 instead of a string 2021-08-04 14:49:20 -07:00
d81fae0013 Make UserID an alias for int64 rather than string 2021-08-04 02:00:58 -07:00
d386ba2cb4 Make String() methods more useful for terminal output 2021-07-24 10:55:44 -07:00
96e2edfb8a ID fields are now Hungarian-notated
- tweet.User is now a pointer to a User object; tweet.UserID holds the user id
2021-07-24 10:19:05 -07:00
b5c33c2ad0 Fix some types to be more clear 2021-07-22 14:16:40 -07:00
28b11548bf Add actual scraping 2021-06-16 19:34:06 -07:00
74ef2e4193 Create UserHandle type 2021-06-16 13:14:56 -07:00
02a2a0be33 Add parsing for user API type 2021-06-13 14:34:20 -07:00
2c8fe25e78 Add tweet parsing 2021-05-22 18:20:18 -04:00