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
imperatrona
d31ee7d09f
rm bearerToken2
2025-04-30 01:03:40 +03:00
thewh1teagle
3f34db1aa9
feat: use bearer token with higher rate limit
2024-11-24 00:36:29 +02:00
thewh1teagle
8bb70a9d2c
fix: change bearer token for authentication that is less restrictive
2024-11-23 16:38:28 +02:00
Valentine
033e8609fb
set csrf token to flow
2024-10-01 17:27:15 +03:00
Valentine
ec8e559b93
Merge branch 'login'
2024-10-01 01:41:12 +03:00
Valentine
4152dfe086
add random delay to auth flow
2024-10-01 01:33:38 +03:00
Valentine
f257b131ff
refactor auth api
2024-10-01 01:30:08 +03:00
Valentine
36d454919c
omit nil check with slice
2024-10-01 00:14:02 +03:00
Valentine
e6d6dc71a9
improve SetAuthToken input
2024-03-09 18:26:46 +03:00
Valentine
6a5df36aed
add authtoken auth
2024-02-20 21:43:19 +03:00
Valentine
8d81775809
add auth with token
2024-02-20 17:26:54 +03:00
Thalles
ad4df95c0d
feat: allow to use specific open account
2023-10-08 22:01:10 -03:00
Thalles
c8ad9a0410
feat: return open account
2023-10-08 21:58:48 -03:00
Alexander Sheiko
87180a4cfc
Fix OpenAccount error handling
2023-09-16 11:49:07 +03:00
Nomadic
7393ab5136
Merge pull request #117 from berkaltiok/patch-1
...
Create clear cookies function
2023-07-06 15:50:00 +03:00
coolestowl
e11917de18
Update auth.go
2023-07-06 13:24:39 +08:00
Berk Altıok
24c31ac232
feat: add clear cookies function
2023-07-05 22:20:56 +03:00
Alexander Sheiko
07ad3789ef
Authentication is required!
...
(quick dirty fix)
Close #115
2023-07-02 01:41:48 +03:00
Alexander Sheiko
15e5f233b7
Support 2FA
...
Close #106
2023-06-12 18:23:26 +03:00
Alexander Sheiko
e52022e31a
Add LoginOpenAccount
...
Close #101 again
2023-05-30 17:31:00 +03:00
Alexander Sheiko
90f9a71721
Improve logout
...
drop session in Twitter
2023-05-10 22:24:32 +03:00
Alexander Sheiko
e86c2fa4ce
Improve login flow
...
support LoginAcid task
2023-05-10 21:48:41 +03:00
Alexander Sheiko
f0d7735a76
Add GetCookies and SetCookies
2023-05-10 11:42:47 +03:00
Alexander Sheiko
deb946cf22
Make IsLoggedIn more active and correct
2023-05-08 13:13:08 +03:00
Alexander Sheiko
eb18988829
Add authentication
...
Breaking changes: removed WithCookie and WithXCsrfToken
2023-04-23 17:32:28 +03:00