ef72de76e0
Rebase DMs, updating for rename of 'scraper' to 'pkg/scraper'
2023-11-07 15:04:47 -04:00
57500b0d30
Add command to fetch a user's DM inbox and hook it up
2023-11-07 15:04:47 -04:00
2e0e307b93
Change '.focused-tweet' to '#focused-tweet'; tidy up 'tests.sh'
2023-10-14 20:08:58 -03:00
4c81846d15
BUGFIX: fix embedded links not being clickable
...
- also improve the display to show the domain name when other info is missing
2023-09-13 23:52:04 -07:00
3e9bc9f4f3
Update main function to use the -n flag for GetUserLikes
2023-09-01 22:33:47 -03:00
b47cfc9f78
First go at fixing integration tests
2023-08-22 20:22:08 -03:00
e1b2968332
Add subcommand to fetch home timelines (both regular and 'for you')
2023-08-20 20:45:03 -03:00
930af3455f
Fix gray connector line showing up on quoted tweets
2023-08-19 22:36:50 -03:00
4cabae45dd
Fix embedding in production build
2023-08-19 02:14:23 -03:00
ff3dba9980
Add build option to embed static files in the built binary
2023-08-19 01:58:31 -03:00
9d3eacc256
Add a subcommand 'twitter webserver' to start the server
2023-08-03 13:15:39 -03: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
ffaec2799d
When POSTing a 'like' to the API, save it as a Like in the db as well
2023-06-26 14:59:41 -03:00
d06a42e2fc
Add integration test for fetching Likes
2023-06-26 13:39:51 -03:00
cc632e0654
Add commands to like and unlike tweets
2023-06-25 22:18:00 -03:00
a44323c5de
Switch over Tweet Detail fetching to use APIv2
2023-06-21 14:05:49 -03:00
56d150d4ae
Fix an integration test which broke because twitter removed a link thumbnail image
2023-06-21 13:10:59 -03:00
cba6631a72
Add integration test for no-clobbering of tombstone stats
2023-06-07 13:23:57 -03:00
dea37c7556
Fix cursor bug in authenticated sessions
2023-06-03 07:51:39 -03:00
af93f44ed2
Two bug fixes
...
- Search is now authenticated only
- `fetch_tweet` and `search` subcommands now respect the `-n [number]` flag
2023-06-03 07:38:17 -03:00
a724f32470
Allow specifying session files with .session extension at command line
2023-03-16 17:53:14 -03:00
6f2ef8953b
Update CHANGELOG.txt for v0.2.0
2023-03-09 22:55:02 -05:00
ae9a9c3a47
Remove password from login.py as well
2023-02-17 13:51:31 -05:00
f988d57e1c
Remove password from test script
2023-02-17 13:46:42 -05:00
c09b77f497
Add ability to use saved sessions
2023-02-17 13:07:12 -05:00
933ee9a7f9
Fix lint errors
2023-02-05 23:40:22 -05:00
alex
3a44f39e9f
Add a check
2023-02-05 23:33:36 -05:00
Jaeger Aquila
28ca0ac4eb
added cmdline login functionality
2023-02-05 20:29:57 -05:00
6302b3d5ab
Fix integration test (pompilivs deleted his account)
2023-01-01 20:27:35 -05:00
f2af4b2403
Fix search
2022-12-09 23:02:12 -05:00
7bad18e9b1
Tidy up the formatting
2022-12-03 13:47:34 -05:00
James Raleigh
972fd50c5b
Fixed tests for DMCAed videos and other fixes
2022-12-02 20:38:57 -05:00
b78cef34ce
Update tests to change account that got banned
2022-11-13 11:29:47 -05:00
5877063748
Add some tests for multiple videos / videos+images
2022-10-15 15:50:25 -04:00
069ddcd976
Put videos, images, and video-thumbnails into subdirectories
2022-10-15 15:06:06 -04:00
b8b3b56c8e
Add woodpecker config, update tests due to an account getting banned
2022-10-14 23:32:14 -04: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
c97ee8a645
Add integration test for scraping a Space
2022-05-14 17:00:56 -07:00
3b4b3fceb9
Improve tombstone handling significantly
...
- Tombstone type can now be updated
- If a tombstoned tweet becomes available, now updates the text and removes the tombstone
- Non-stub tweets can now have tombstones attached to them without clobbering the tweet content
2022-05-07 16:50:07 -07:00
7e33cc1a9f
Update test script because previously deleted account un-deleted itself somehow
2022-03-22 13:28:42 -07:00
8261087103
REFACTOR: make helper function use the scraper tweet-url parsing method
2022-03-13 14:50:08 -07:00
8c2fb965aa
Fix integration test (failing because user Denlesks was marked as "sensitive")
2022-03-13 14:46:44 -07:00
f41d072573
Improve error handling some more
2022-03-06 20:31:04 -08: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
3cb3c14e77
Change failing integration test to use different tweet with link preview image (previous one had bad karma anyway)
2022-03-02 15:34:38 -08:00
508670248e
Add list_followed
subcommand
2022-02-28 16:06:58 -08:00
5f3013a49b
Update tweet UserIDs in a tweet trove with Unknown Users in it (i.e., deleted users(?))
2022-02-27 23:14:30 -08:00
52370a4f9d
Recognized deleted users when scraping, create a user with a fake ID
2022-02-27 23:06:06 -08:00