Commit graph

23 commits

Author SHA1 Message Date
Zed 0bc3c153d9
Fix everything (#927)
* Switch bearer token and endpoints, update parser

* Enable user search, disable tweet search

* Disable multi-user timelines for now

* Fix parsing of pinned tombstone
2023-07-10 11:25:34 +02:00
Zed dcf73354ff Fix GraphQL user crash with invalid JSON 2023-07-01 22:07:37 +02:00
Zed 1ac389e7c7
GraphQL timeline (#812)
* Update deps

* Replace profile timeline with GraphQL endpoint

* Update GraphQL endpoint versions

* Use GraphQL for profile media tab

* Fix UserByRestId request

* Improve routing, fixes #814

* Fix token pool JSON

* Deduplicate GraphQL timeline endpoints

* Update list endpoints

* Use GraphQL for list tweets

* Remove debug leftover

* Replace old pinned tweet endpoint with GraphQL

* Validate tweet ID

* Minor token handling fix

* Hide US-only commerce cards

* Update config example

* Remove http pool and gzip from token pool

* Support tombstoned tweets in threads

* Retry GraphQL timeout errors

* Remove unnecessary 401 retry

* Remove broken timeout retry

* Update karax, use new bool attribute feature

* Update card test

* Fix odd edgecase with broken retweets

* Replace search endpoints, switch Bearer token

* Only parse user search if it's a list

* Fix quoted tweet crash

* Fix empty search query handling

* Fix invalid user search errors again
2023-04-21 14:41:30 +02:00
Zed ff61d97a1d Optimize profile fetching and caching 2023-01-20 04:55:42 +01:00
Zed d923c20aa6 Explicitly don't support 'model3d' cards
Fixes #597
2022-11-27 18:19:30 +01:00
Zed 9bae009bbc Fix 'unknown' compilation error 2022-11-27 17:27:07 +01:00
Zed da4d6eabdd Add enum hooks to log parseHook jsony errors 2022-11-27 17:24:29 +01:00
Zed e789fdbe5a
Merge pull request #557 from jackyzy823/fix-bio-hashtag
Fix bio hashtag
2022-02-20 21:23:53 +01:00
jackyzy823 c7a78a7f43 fix slashes between hastags 2022-02-20 14:29:35 +01:00
jackyzy823 7ca3591920 fix non-ascii hashtag regex 2022-02-14 09:20:32 +01:00
Zed 6695784050 Fix user search parser 2022-02-11 22:41:45 +01:00
Zed 3a076a9b4e Add experimental parser module 2022-01-26 21:05:23 +01:00
Zed 4738ec3385 Add experimental user search parser 2022-01-26 20:56:05 +01:00
Zed 49a2fbb070 Support profile image color parsing in wip parser 2022-01-26 18:36:12 +01:00
Zed a54d6aa1eb Add experimental GraphQL list members parser 2022-01-26 18:04:01 +01:00
Zed ae7091e69d Add experimental GraphQL user parser 2022-01-26 18:04:01 +01:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed b01810e261 Improve profile page elements, reduce jank
Fixes #167
2022-01-17 05:59:16 +01:00
Zed f3d6f53f6d Rework profile cache behavior, fix suspended cache
Fixes #480
2022-01-16 20:32:45 +01:00
Zed fff04de24b Simplify new error handling 2022-01-16 18:28:40 +01:00
Zed 3d91ae0256 Set tokens to expire 5 minutes early
Prevents occasional usage of tokens the very second they expire
2022-01-16 17:57:18 +01:00
Zed cdf49dcddd Add experimental user parser 2022-01-16 06:01:13 +01:00
Zed 111927a21c Add experimental support for unified_card
Closes #345
2022-01-13 12:17:18 +01:00