85c852f4bb
fix: accept all 2xx status codes
2026-05-21 18:56:59 +03:00
34db837a9e
feat: x.com migration + public API for cookie-based auth
...
- migrate all API URLs from twitter.com to x.com
- add SetBearerToken, SetHTTPClient, SetLoggedIn public methods
- accept 202/204 status codes in handleResponse
- module path -> src.cultist.club/lain/twitter-scrapper
2026-05-21 18:54:10 +03:00
Valentine
f257b131ff
refactor auth api
2024-10-01 01:30:08 +03:00
Valentine
f5c1694211
fix accept 200-299 status codes
2024-03-09 03:54:20 +03:00
Valentine
cc633cb1ea
fix tests
2024-02-20 23:27:22 +03:00
Alexander Sheiko
e52022e31a
Add LoginOpenAccount
...
Close #101 again
2023-05-30 17:31:00 +03:00
Alexander Sheiko
3eb86161ce
Fix 403 error
2023-05-11 13:36:32 +03:00
Alexander Sheiko
90f9a71721
Improve logout
...
drop session in Twitter
2023-05-10 22:24:32 +03:00
Alexander Sheiko
f0d7735a76
Add GetCookies and SetCookies
2023-05-10 11:42:47 +03:00
Alexander Sheiko
eb18988829
Add authentication
...
Breaking changes: removed WithCookie and WithXCsrfToken
2023-04-23 17:32:28 +03:00
Alexander Sheiko
d1938ac2f1
Dirty fix for trends
2022-04-18 12:42:39 +03:00
Alexander Sheiko
2a5f801f85
Revert "Update bearer token"
...
This reverts commit e74a608dbd .
2022-04-17 23:38:54 +03:00
Alexander Sheiko
e74a608dbd
Update bearer token
2022-04-17 13:43:31 +03:00
Alexander Sheiko
7c236e105c
Minor changes
2022-04-09 20:00:09 +03:00
Alexander Sheiko
1068150295
Update bearer token
...
Close #51
2022-01-24 10:19:15 +02:00
Alexander Sheiko
4c9f06806a
Separate test package
2021-12-07 10:18:01 +02:00
vanilla
7e61608f79
make a couple of changes pr:43
2021-09-09 11:15:53 +08:00
one.cat
31c9e5da5a
add cookie and x-csrf-token
2021-09-08 16:02:53 +08:00
Alexander Sheiko
01ac1b672c
Add optional delay between API requests
2021-07-16 13:52:22 +03:00
Alexander Sheiko
9608d12cf3
Move cacheIDs
2021-04-23 10:41:22 +03:00
Alexander Sheiko
5032ecd29d
Add SearchProfiles
...
Minor changes and fixes
2021-04-22 21:38:49 +03:00
Alexander Sheiko
d50bd429d2
Embed legacy user type
2021-03-09 10:51:51 +02:00
Alexander Sheiko
6c4a1cc054
Code optimization
2021-01-28 11:12:20 +02:00
Michael
d33882ff94
replace GetProfile with single call and improve error handling to fetch private profiles
2021-01-25 10:31:41 +07:00
Alexander Sheiko
142387af97
Reset guest token if rate limit is reached
2021-01-05 15:15:27 +02:00
Alexander Sheiko
56f5a2edc2
Refresh guest token every 3 hours
2021-01-05 14:21:08 +02:00
Alexander Sheiko
0adf36d8c2
Check status code for API
2021-01-05 11:42:51 +02:00
Alexander Sheiko
6bf65cd482
Add Scraper object
2020-12-12 23:33:57 +02:00
Alexander Sheiko
edad8f6393
Total refactoring
...
Used guest frontend API
BREAKING CHANGE: remove tweet.HTML property
Loading more information
Minor fixes and changes
2020-12-11 20:58:49 +02:00