412574e46f
Fix parsing of spaces in APIv2; improve no-worsening of Spaces
2022-11-25 13:22:20 -05:00
433dd5e0bb
Enable fetching of Space details
2022-11-24 19:15:21 -05:00
58c19df11a
Add Space persistence queries for Space details
2022-11-24 19:08:00 -05:00
a81d0e80fe
Add test file
2022-11-24 19:02:50 -05:00
55c4db32de
Fix lint
2022-11-24 19:01:30 -05:00
0293f11b9b
Fix parsing of empty Space responses
2022-11-24 18:57:42 -05:00
05cacb1490
Add blank line
2022-11-13 13:47:56 -05:00
2a45818468
Add parsing of Space object
2022-11-13 13:40:58 -05:00
d54e77b169
Some housekeeping
2022-11-13 12:07:36 -05:00
b78cef34ce
Update tests to change account that got banned
2022-11-13 11:29:47 -05:00
877cdd316b
Skip building the binary an extra time when building the dpkg
2022-10-15 16:57:18 -04:00
0bf73d4bc5
Update CHANGELOG.txt for version 0.1.7
2022-10-15 16:52:45 -04:00
fe305ec2ab
Fix typo
2022-10-15 16:38:07 -04:00
8ccb55ef79
Add version bump test to woodpecker build
2022-10-15 16:35:14 -04:00
5877063748
Add some tests for multiple videos / videos+images
2022-10-15 15:50:25 -04:00
4b5b098b9e
Fix error in Curl function where parent directory already exists
2022-10-15 15:17:15 -04:00
069ddcd976
Put videos, images, and video-thumbnails into subdirectories
2022-10-15 15:06:06 -04:00
6de2d670e8
Fix lint error
2022-10-15 12:47:41 -04:00
d647307097
Support multiple videos / videos+images
2022-10-15 12:40:40 -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
e932dd33d5
Add parsing Spaces for API v2
2022-05-14 17:36:47 -07:00
c97ee8a645
Add integration test for scraping a Space
2022-05-14 17:00:56 -07:00
99ad0f4a2c
Fix lint errors
2022-05-14 16:43:39 -07:00
cf7608eaa9
Save links to Spaces in a Tweet
2022-05-14 16:36:03 -07:00
3b6c970b74
Make Space test fixture semi-stable based on given ID
2022-05-14 16:31:53 -07:00
1b675e8200
Add db operations for Spaces
2022-05-14 16:04:09 -07:00
54857f40cd
Add parsing of tweets with Space links in them
2022-05-14 15:02:58 -07:00
565b7eaf1e
Add Spaces type
2022-05-14 14:35:49 -07:00
d98f02954e
Add support for 'mobile' twitter links
2022-05-14 13:51:51 -07:00
8b81dafd28
Update CHANGELOG.txt for v0.1.5
2022-05-07 19:26:02 -07:00
a39fab14b3
Fix another lint error
2022-05-07 19:02:02 -07:00
876f617876
Fix lint errors
2022-05-07 18:50:28 -07:00
3d289ed5f0
Profile images are now downloaded based on whether the local file path exists, not just what the DB says
2022-05-07 18:46:07 -07:00
8775f5337d
Add test to ensure proper user images are being downloaded
2022-05-07 18:44:03 -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
780577d724
Enable updating user handles
2022-05-07 15:23:37 -07:00
cb3fc469b2
Fix lint error
2022-05-07 14:38:21 -07:00
36e537b1cd
Handle IsFollowing calls for users that aren't saved yet
2022-05-07 14:36:59 -07:00
6498a97816
Change IsFollowing
method to use id
field instead of handle
2022-05-07 14:21:59 -07:00
7e33cc1a9f
Update test script because previously deleted account un-deleted itself somehow
2022-03-22 13:28:42 -07:00
da9a5d4de8
Modify some comments, use 'complete-build' command in sourcehut build where appropriate
2022-03-22 13:12:21 -07:00
d1d80a91cd
Add 'gofmt' linter
2022-03-13 17:13:40 -07:00
223734d001
Remove all references to deprecated 'ioutil' package
2022-03-13 16:33:17 -07:00
f08da27cc2
Enable 'wrapcheck' linter
2022-03-13 16:13:16 -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
482f3ae127
Enable the nolintlint linter
2022-03-13 13:05:37 -07:00
f41d072573
Improve error handling some more
2022-03-06 20:31:04 -08:00