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
2de3793bce
fix socks proxy without auth
2024-02-20 23:42:41 +03:00
Laike Du
1f4290bd5c
Update scraper.go
...
Support auth for SetProxy socks5
2023-11-04 15:57:15 +08:00
Alexander Sheiko
07ad3789ef
Authentication is required!
...
(quick dirty fix)
Close #115
2023-07-02 01:41:48 +03:00
Alexander Sheiko
e52022e31a
Add LoginOpenAccount
...
Close #101 again
2023-05-30 17:31:00 +03:00
Alexander Sheiko
66780eb801
Remove deprecated functions
...
Removed global default scraper
2023-05-11 14:15:56 +03:00
windowsdeveloperwannabe
8a740fe634
don't replace existing client
2023-05-10 08:50:24 +03:00
Alexander Sheiko
eb18988829
Add authentication
...
Breaking changes: removed WithCookie and WithXCsrfToken
2023-04-23 17:32:28 +03:00
Alexander Sheiko
bfb4020597
Deprecate default scraper
2022-05-04 11:55:12 +03:00
Alexander Sheiko
d1938ac2f1
Dirty fix for trends
2022-04-18 12:42:39 +03:00
Alexander Sheiko
e6ddf32a93
Remove clientTimeout property
2022-01-11 14:47:17 +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
vanilla
dea52191dd
fix socket5
2021-09-08 16:30:37 +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
5032ecd29d
Add SearchProfiles
...
Minor changes and fixes
2021-04-22 21:38:49 +03:00
Alexander Sheiko
56f5a2edc2
Refresh guest token every 3 hours
2021-01-05 14:21:08 +02:00
Alexander Sheiko
f5fa52b53c
Remove SearchPeople mode
2020-12-24 10:18:30 +02:00
Alexander Sheiko
0c484a61b1
Use enum search mode
2020-12-23 19:53:48 +02:00
Alexander Sheiko
1f25820556
Revert "Fix SetSearchLive, SetSearchPhotos and SetSearchVideos"
...
This reverts commit b6887fca9c .
2020-12-23 19:24:08 +02:00
Alexander Sheiko
b6887fca9c
Fix SetSearchLive, SetSearchPhotos and SetSearchVideos
2020-12-23 19:08:17 +02:00
JustHumanz
8d58843bdb
change prefix
2020-12-21 19:42:07 +07:00
JustHumanz
7363f676bf
add SearchLive SearchPhotos SearchVideos
2020-12-20 00:20:27 +07:00
Alexander Sheiko
6414a834ea
Support https proxy
2020-12-13 00:04:34 +02:00
Alexander Sheiko
c299d7f479
Fix New function
2020-12-12 23:45:14 +02:00
Alexander Sheiko
6bf65cd482
Add Scraper object
2020-12-12 23:33:57 +02:00