947 Commits

Author SHA1 Message Date
1384aa73e9 BUGFIX: fix CSRF tokens getting out of sync on requests that load multiple pages of results 2023-03-09 22:49:55 -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
ee4b863d38 Remove integration test masquerading as a unit test 2023-02-17 13:22:09 -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
Jaeger Aquila
68867718af Fixed linter errors 2023-01-14 17:56:02 -05:00
Jaeger Aquila
a8b1241898 removing extra TODO 2023-01-14 17:51:54 -05:00
Jaeger Aquila
4ee69f1ed5 implemented saving cookies and user session to a file 2023-01-14 17:40:03 -05:00
ab9e67bbb1 Add skeleton for saving and loading sessions 2023-01-08 15:40:17 -05:00
390c831541 Add marshaling and unmarshaling of API objects so state can be persisted between runs 2023-01-01 21:57:08 -05:00
c3494cfe19 Add handle of the logged-in user to API 2023-01-01 21:45:58 -05:00
6302b3d5ab Fix integration test (pompilivs deleted his account) 2023-01-01 20:27:35 -05:00
00a73836f5 Fix some lint errors 2023-01-01 20:14:26 -05:00
8a1b2fc801 Fix lint error 2022-12-30 21:23:45 -05:00
04842f8c72 REFACTOR: make login flow less verbose 2022-12-30 21:23:45 -05:00
1087809d63 Add fetching likes API request 2022-12-30 21:23:45 -05:00
c0366a0978 Add cookies and CSRF to authentication flow 2022-12-30 21:23:45 -05:00
3feaf9caa6 Fix cookies in login python script 2022-12-30 21:23:45 -05:00
Jaeger Aquila
2cf64db93e some refactoring and tests 2022-12-30 21:23:45 -05:00
Jaeger Aquila
140024e903 initial login code 2022-12-30 21:23:45 -05:00
58f4026e88 Rename login script 2022-12-30 21:23:45 -05:00
62c499e95c Tidy up login script, add request to fetch 'likes' (auth-guarded endpoint) 2022-12-30 21:23:45 -05:00
James Raleigh
55b25f4fbf initial login test script in py 2022-12-30 21:23:45 -05:00
1558c321b6 Add index on tweets user_id column to accelerate building user feed 2022-12-26 13:08:25 -05:00
83a6edb257 Fix migrations to not have nulls 2022-12-26 12:56:05 -05:00
1570075443 Add new spaces columns to the migrations 2022-12-25 13:08:46 -05:00
7f9cc62667 Update CHANGELOG.txt for v0.1.8 2022-12-24 14:39:04 -05:00
476f00856c Add indexes for in_reply_to_id, and fetching urls/polls/images/videos by tweet_id 2022-12-24 13:47:43 -05:00
dac10fa13c Tighten up no-worsening of spaces, add saving ShortUrl when scraping from feed 2022-12-23 00:00:46 -05:00
1a9a2cb745 Fix Spaces created-by-id not being scraped 2022-12-22 23:29:11 -05:00
Jaeger Aquila
ce11a70bf9 Finished refactoring 2022-12-10 13:30:16 -05:00
ec6ecb39cb Remove UpdateQueryCursor helper function as it was inlined 2022-12-10 12:18:52 -05:00
fe57763568 Change entrypoint functions to use NewGuestSession constructor for API 2022-12-10 10:58:32 -05:00
3c9ed97c64 Fix lint error 2022-12-10 10:55:55 -05:00
6c5f8b8356 Update API call functions to use do_http
- move query-string modifications to individual API call functions:
"referrer=tweet", tweet "include_XYZ" params
- tidy up implementation of retries in `API.GetUser`
- fix out-param of `do_http` being a pointer to an interface when it should just be an interface
2022-12-10 10:49:25 -05:00
Jaeger Aquila
e44a83edae fixed trailing whitespace 2022-12-09 23:03:22 -05:00
Jaeger Aquila
6816dcbe2f generic http implem and fixing package errors 2022-12-09 23:03:22 -05:00
77e338b4f7 Add skeleton for API refactoring 2022-12-09 23:03:22 -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
Jaeger Aquila
a05d97dd71 Updated todo text 2022-11-27 23:20:25 +00:00
James Raleigh
bacfd519cc fix for dmca video downloads 2022-11-27 18:10:25 -05:00
6830be3c87 Fix error where retweets were not parsing properly sometimes 2022-11-25 15:51:21 -05:00
37525e58c0 Fix title no-worsening for spaces 2022-11-25 13:32:22 -05:00
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