Alessio
041af0f91d
Move common type definitions (Tweet, User, etc) from 'scraper' package to 'persistence'
2025-02-14 16:02:40 -08:00
Alessio
4132eb4bca
REFACTOR: SaveTweetTrove
no longer calls scraper.GetUserByID
, removing another scraper dependency from persistence
package
...
- it was calling it to handle conflicting user handles
- now user handle conflicts are handled by the callee
- Add a utility function in `main` and `webserver` packages to rescrape the conflicting users
2025-02-10 12:53:31 -08:00
Alessio
bbe6c6fef1
Fix lint error
2024-07-13 23:05:31 -07:00
Alessio
d2045028a7
Improve closing message when a scrape ends due to rate-limiting
2024-06-11 12:32:58 -07:00
Alessio
80f8ed0a5d
Update command line output when you get rate limited
2024-06-10 20:37:43 -07:00
Alessio
a1faacaf6b
Don't throw away all previous results if you get rate-limited, just save them
2024-06-10 19:59:08 -07:00
a5f1e8396e
Add --default-profile command-line flag which will create the profile if necessary and then use it
2024-02-21 19:53:12 -08:00
a061decd0f
REFACTOR: Rename go module to 'gitlab.com/offline-twitter/twitter_offline_engine' in accordance with 'go get' conventions
...
- also restructure project to use a 'pkg' directory for reusable packages
2023-07-30 14:20:07 -03:00
Jaeger Aquila
28ca0ac4eb
added cmdline login functionality
2023-02-05 20:29:57 -05:00
94b8b551f8
Update CHANGELOG.txt for v0.1.6
2022-05-14 18:28:33 -07:00
5d54a46aaf
Move cmd help message to a plain text file and embed it using go:embed
2022-05-14 18:18:05 -07:00
8261087103
REFACTOR: make helper function use the scraper tweet-url parsing method
2022-03-13 14:50:08 -07:00
7edc8ad5d3
Some whitespace changes :V
2022-03-06 17:07:05 -08:00
18c9f79429
REFACTOR: LINT: add .golangci.yaml lint config file
...
- Add linting for line lengths
- Fix some linting errors
2022-03-06 15:06:06 -08:00
508670248e
Add list_followed
subcommand
2022-02-28 16:06:58 -08:00
41586bf0f8
Add follow
and unfollow
sub-commands
2022-02-26 16:22:00 -08:00
f9a8841c07
REFACTOR: create SaveTweetTrove
convenience method to reduce code in main.go
2022-02-14 13:39:59 -08:00
13170c84b2
Add '-h, --help' flag to print help message then exit
2022-02-12 15:41:03 -08:00
04a4974ffb
Add '-n' / '--number' flags, and update help message for executable
2022-02-02 15:09:50 -08:00
6d7d940df4
Add search
2021-11-06 14:50:39 -07:00
f278010201
Fix linting error
2021-09-27 13:52:51 -07:00
b17e0821bb
Make command line accept either URL or just ID to find a tweet
2021-09-27 13:49:17 -07:00
06831dfb52
Update help message
2021-08-22 18:43:33 -07:00
9eee64cca1
Catch random API 403 errors
2021-08-22 16:41:59 -07:00
08d703a26f
Add command to get a user feed
2021-08-19 12:54:08 -07:00
2b23fcbc53
twitter command now uses current directory as the profile dir by default
2021-08-11 06:56:42 -07:00
c803794a0f
Change TweetID to be an int64
instead of a string
2021-08-04 14:49:20 -07:00
c4c2ef8979
Fix a test
2021-08-02 14:55:59 -07:00
18a63cd2eb
Create twitter
main package
2021-08-02 14:47:32 -07:00