186 Commits

Author SHA1 Message Date
Zed
19adc658c3 Replace tweet endpoint with GraphQL 2023-02-02 12:31:49 +01:00
Zed
6a7e56b613 Linting 2022-11-27 16:20:53 +01:00
Zed
b1ef505cff Fix "Show this thread" for pinned threads 2022-11-27 01:57:32 +01:00
Zed
2a5541c126 Merge branch 'fork-graveyard/master' 2022-06-04 01:23:55 +02:00
girst
e2b8e17f85 use largest resolution mp4 video available 2022-05-18 19:52:17 +02:00
Curtis
ce5cbaeb87 Implement getSource proc 2022-02-26 19:02:34 -05:00
Curtis
baf5bf89e7 Implement requested changes 2022-02-26 19:00:06 -05:00
110Percent
8f65bd583d Remove accidental newline 2022-02-26 13:40:38 -05:00
110Percent
b031ea762e Add source label to main tweets 2022-02-26 13:37:17 -05:00
Zed
adfd31c530 Fix timeline parser 2022-02-07 21:58:06 +01:00
Zed
4738ec3385 Add experimental user search parser 2022-01-26 20:56:05 +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
182b5ba90b Support quotes in pinned tweets 2022-01-23 10:15:54 +01:00
Zed
d1a3e7ab58 Fix empty pinned tweets when status wasn't found 2022-01-23 09:12:13 +01:00
Zed
27183f1a74 Use faster API to get pinned tweets 2022-01-23 07:45:01 +01:00
Zed
51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed
3ab778b49c Remove old parseUserShow proc 2022-01-16 06:34:38 +01:00
Zed
fcfc1ef497 Parse user stats as ints, not strings, cleanup 2022-01-16 03:32:18 +01:00
Zed
111927a21c Add experimental support for unified_card
Closes #345
2022-01-13 12:17:18 +01:00
Zed
ffcac982d0 Style fixes 2022-01-06 03:57:14 +01:00
Zed
f5ba2b62e7 Add audiospace to list of unsupported cards 2022-01-06 03:37:27 +01:00
Zed
d726894555 Remove unused profile API 2022-01-05 22:17:14 +01:00
Zed
a9034928eb Fix video duration parser 2022-01-02 10:58:02 +01:00
Zed
b8a3ffb0c4 Add description and verified to video cards 2021-12-30 23:24:53 +01:00
jackyzy823
ef7ad67674 fix userid in list 2021-12-30 08:36:43 +01:00
jackyzy823
35bb5f9132 Rework list api 2021-12-30 08:36:43 +01:00
Zed
b0a5e38b3f Merge branch 'intent-userid' 2021-12-30 01:45:41 +01:00
Zed
5e0eb02422 Improve withheld tweet rendering 2021-12-29 06:41:00 +01:00
jackyzy823
52af6b2746 Implement user_id to screen_name router 2021-12-28 09:30:55 +01:00
Zed
73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed
5e49e94bf1 Refactor "withheld" parsing 2021-12-26 06:48:55 +01:00
Zed
7af71ec480 Fix compiler warnings 2021-12-20 04:18:44 +01:00
alqeeu
89591b06bf
Fix user search parser (#483) 2021-12-19 21:28:13 +01:00
jackyzy823
68136de07b
add new card kind, and do not raise error for unknown card kind (#467) 2021-11-20 23:12:33 +01:00
Vítor
cf47c1b8ad
Handle withheld tweets (#429)
* Handle withheld tweets

* Fix format of parser.nim
2021-08-21 17:13:38 +02:00
SolitudeSF
cad75845db Fix compilation error with nim 1.4.0 2020-11-10 15:55:41 +01:00
SolitudeSF
48aa8d8e48 Replace spaces in list name 2020-11-10 15:54:08 +01:00
Zed
b6a49fc4cb Support quoted replies stat, update font 2020-11-08 02:21:58 +01:00
Zed
2d7e12fcb8 Fix parsing censored tweets 2020-11-07 22:48:49 +01:00
Zed
509e1dc5e8 Remove leftover from wip stuff 2020-11-07 22:48:30 +01:00
Zed
3bd0488c66 Add http pool to reduce connection overhead 2020-11-07 21:31:03 +01:00
Zed
06f7a8d95f Fix parsing "Show more" without digits 2020-10-01 22:08:25 +02:00
Zed
91f42c4c94 Nevermind. 2020-06-17 20:55:01 +02:00
Zed
51c7af082d We no longer know whether profiles are suspended 2020-06-17 17:19:08 +02:00
Zed
0e58c36bae Change user endpoint 2020-06-17 00:22:11 +02:00
Zed
77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed
1811a23265 Parse alternative video title 2020-06-10 17:09:38 +02:00
Zed
179b3bc496 Parse video profile 2020-06-10 17:06:05 +02:00
Zed
0c9c37e886 Support even more obscure card types 2020-06-10 16:19:01 +02:00
Zed
47c87f7068 Strip https://pbs.twimg.com from image urls 2020-06-07 07:55:57 +02:00
Zed
ea7222bc86 Optimize photo rail parser 2020-06-07 07:54:20 +02:00
Zed
be74cec48a Refactor instruction parsing 2020-06-07 07:53:40 +02:00
Zed
1a9e5a6c72 Fix user search pagination 2020-06-05 00:11:05 +02:00
Zed
42421e58de Fix tweet ID parsing bug on 32-bit 2020-06-04 05:03:25 +02:00
Zed
85d972dc36 Add it back fully 2020-06-03 02:41:37 +02:00
Zed
4d650fd33e Support more cards, even the undocumented ones 2020-06-03 02:33:34 +02:00
Zed
fb591e43b8 Switch to packedjson to try lowering memory usage 2020-06-02 18:05:54 +02:00
Zed
2fa76db099 Simplify error parser 2020-06-02 18:05:54 +02:00
Zed
74534e8fef Use old user endpoint to avoid graphql rate limits 2020-06-02 18:05:54 +02:00
Zed
39863703b3 Error stuff 2020-06-02 18:05:54 +02:00
Zed
a2c0e1a21d Add missing tombstones 2020-06-02 18:05:54 +02:00
Zed
762d00b21d In with the new 2020-06-02 18:05:54 +02:00
Zed
4167ce458b Out with the old 2020-06-02 18:05:54 +02:00
Zed
c6215876fa Implement proper infinite scroll for replies
Fixes #125
2020-04-29 18:10:17 +02:00
Zed
8a6978cf74 Detect suspended accounts 2020-04-15 00:28:45 +02:00
Zed
5fc458638d Store profile usernames in lowercase for speedup 2020-03-09 00:12:42 +01:00
Zed
f8f4487c33 Support tweet locations 2019-12-21 05:44:58 +01:00
Zed
80d6191e74 Support media tags 2019-12-21 05:07:50 +01:00
Jason Francis
5576cbac8d Change ID types to int64 2019-12-09 18:39:12 -05:00
Zed
2e398c2c87 Include video ID in parser failure message 2019-12-08 19:48:11 +01:00
Zed
397471f8f4 Add button to show earlier thread replies 2019-12-06 06:03:50 +01:00
Zed
f19443ed96 Fix parsing promo_video_convo cards 2019-11-08 22:52:34 +01:00
Zed
02b206078d Don't export options from types 2019-10-26 15:34:30 +02:00
Zed
779187529c Strip list member bios 2019-10-23 09:05:35 +02:00
Zed
3218cc4069 Fix nil card url crash 2019-10-19 21:46:16 +02:00
Zed
1faf976d7c Use int for tweet ids for correct thread sorting 2019-10-10 18:22:14 +02:00
Zed
83a651e732 Link profile location to search query if available
Fixes #60
2019-10-08 23:25:59 +02:00
Zed
d8c8b6696a Linkify profile card website properly 2019-10-08 23:12:22 +02:00
Zed
e6f1e55c15 Refactor Thread -> Chain to nimsuggest errors 2019-10-08 20:47:45 +02:00
Zed
369dc994b8 Fix edgecase with nonexistent tweet not withheld 2019-10-08 15:17:37 +02:00
Zed
9038645bc1 Add support for loading more tweet replies 2019-09-24 15:39:04 +02:00
Zed
9e3138e51b Add list support 2019-09-21 01:08:30 +02:00
Zed
bd774cf0ca Make queries non-optional 2019-09-19 02:23:22 +02:00
Zed
4971491dfe Options cleanup 2019-09-18 20:54:07 +02:00
Zed
30bab22dae Add user search 2019-09-17 21:17:36 +02:00
Zed
12695b393e Fix pro/amp video parsing 2019-09-17 21:17:03 +02:00
Zed
9ff3ba2005 Show reasons for tweets being withheld
Fixes #33
2019-09-08 14:34:54 +02:00
Zed
f7c1c28368 Initial search refactoring 2019-08-23 02:15:25 +02:00
Zed
1e73a2f8bf Fix crash caused by "withheld" tweets 2019-08-20 22:44:11 +02:00
Zed
728a335f2c Show overlay for unavailable videos 2019-08-19 22:03:00 +02:00
Zed
60986ecc88 Display media count above photo rail 2019-08-11 23:24:02 +02:00
Zed
7171486f03 Revamp profile api to display more metadata 2019-08-11 21:30:31 +02:00
Zed
0359c72fda Remove unused imports 2019-08-11 21:26:37 +02:00
Zed
bfcb74c6cc Cache videos 2019-08-06 19:02:38 +02:00
Zed
27cf4cdf64 Support promo_video_website cards 2019-07-16 03:45:38 +02:00
Zed
0da076ddcf Fix card link parsing edge cases 2019-07-15 13:40:59 +02:00
Zed
d3a7ca834b Implement card fetching and parsing 2019-07-11 19:22:23 +02:00
Zed
ab36664ad2
Use Karax html rendering instead of source filters (#2)
* Use Karax html rendering instead of source filters
2019-07-11 00:42:31 +02:00
Zed
fad2575d93 Fix sensitive media being rendered as unavailable 2019-07-10 23:38:52 +02:00