Commit Graph

103 Commits

Author SHA1 Message Date
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Mitarashi 0d3469df66 changed code to be not shit 2022-01-14 19:01:47 +02:00
Zed 111927a21c Add experimental support for unified_card
Closes #345
2022-01-13 12:17:18 +01:00
Zed 8a6fbe81ab Fix video processing crash
Closes #512
2022-01-12 19:19:14 +01:00
Zed 6c6386913e Remove nim-regex dependency, improve performance 2022-01-11 03:22:31 +01:00
Zed 0e5da8c305 Reimplement titleize without regex 2022-01-10 16:18:10 +01:00
Zed ffcac982d0 Style fixes 2022-01-06 03:57:14 +01:00
Zed 27e49376fa Rearrange date string 2022-01-03 03:52:39 +01:00
Zed 80ebec3122 Unify tweet date formatting, add UTC
Closes #65
2022-01-03 03:38:59 +01:00
Zed 51c6605d3f Fix Twitter link replacements
Fixes #492
2021-12-30 05:11:05 +01:00
Zed d96550fcce Minor code improvements 2021-12-30 04:18:40 +01:00
Zed eed4d4033f Add canonical header to help search engines
Fixes #472
2021-12-30 04:17:58 +01:00
Zed 1e1e034237 Improve Twitter regex 2021-12-28 07:01:52 +01:00
Zed 73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed 9e413e1f8c Rename replaceUrl to replaceUrls 2021-12-27 02:27:49 +01:00
Zed 3c45630062 Add Reddit link replacement support
Closes #306
Closes #353
2021-12-27 02:22:10 +01:00
Zed 91c0e032ee Avoid unnecessary string allocations in replaceUrl 2021-12-27 00:42:52 +01:00
Zed a8c541954c Improve twitter.com regex string
Closes #236
Closes #237
Closes #304
2021-12-27 00:42:45 +01:00
Zed 5e5e290acc Revert "Use match instead of find, minor performance gain"
This reverts commit 759728e363.
2021-12-27 00:10:42 +01:00
Zed 759728e363 Use match instead of find, minor performance gain 2021-12-27 00:03:52 +01:00
Zed 7af71ec480 Fix compiler warnings 2021-12-20 04:18:44 +01:00
Rusty Bird 25191f7c40
Fix unescaped dot in Instagram regex (#471)
Similar to edb3751181 (#109)
2021-11-26 22:49:44 +01:00
Daveed9 46cf3e3a91
Changed procedure getRfc822Time to comply with RSS 2.0 spec (#404)
Co-authored-by: David Robinson <daveed@mailbox.org>
2021-06-23 23:15:51 +02:00
decoy-walrus 15e1ba1322
Hack in support for the new twitter video format (#381)
This change adds ".m4s" and ".mp4" to the regex that modifies m3u8 playlist files proxied from twitter, and adds ".m4s" to the list of extensions proxied through nitter. The net effect is the new video format that twitter is using now should be supported.
2021-05-08 18:05:31 +02:00
Zed e1b3e9db76 Add proper http support
Fixes #223
2021-01-08 02:36:06 +01:00
Zed d358912790 Sanitize XML to remove invalid characters
Fixes #268
2020-11-07 23:53:49 +01:00
Zed 2127af71b4 Partial fix for wrong multi-user twitter link 2020-06-17 14:15:13 +02:00
Zed 7643293f6b Fix tombstone parsing
Apparently they just got rid of the "epitaph", oh well
2020-06-12 08:01:31 +02:00
Zed 310c5e936d Optional base64 support for proxy urls 2020-06-09 15:22:58 +02:00
Zed 9ad458ae25 Fix Twitter link for searches 2020-06-02 22:31:46 +02:00
Zed 77f03425ef Preserve original UTC timestamp 2020-06-02 22:02:10 +02:00
Zed 81d6d1ac7f Misc. changes 2020-06-02 18:05:54 +02:00
Zed 8a6978cf74 Detect suspended accounts 2020-04-15 00:28:45 +02:00
Zed 8a11b5a167 Add tweet page titles
Fixes #124
2020-03-29 09:15:05 +02:00
Zed ed79ed25a7 Add Instagram replacement preference
Fixes #133
2020-03-29 09:03:06 +02:00
Zed 0582e2ea95 Fix displaying urls in location fields 2020-03-09 01:03:24 +01:00
Zed df943c09d9 Fix converted youtube channel links 2020-03-09 00:47:00 +01:00
Zed 9b4b70e2e4 Fix card links 2020-03-09 00:33:52 +01:00
Zed b03faccd45 Turn regex patterns into consts 2020-01-22 13:04:35 +01:00
Zed edb3751181 Fix incorrect regex
Fixes #109
2020-01-19 08:49:28 +01:00
Zed 1aa1487402 Add t.co and /cards link resolvers
For t.co links: https://t.co/.. -> nitter.net/t.co/..
For card links: https://cards.twitter.com/cards/.. -> nitter.net/cards/...
2019-12-30 11:41:09 +01:00
Zed f8f4487c33 Support tweet locations 2019-12-21 05:44:58 +01:00
Jason Francis 5576cbac8d Change ID types to int64 2019-12-09 18:39:12 -05:00
Zed ebd7afe464 Support video embeds
Fixes #66
2019-12-06 15:15:56 +01:00
Zed dc56e3ebe2 Generalize YouTube regex 2019-12-06 04:37:38 +01:00
Zed f1529077d7 Focus main tweet in threads 2019-10-22 09:17:58 +02:00
Zed 2b7b374708 Improve link shortening 2019-10-22 07:05:58 +02:00
Zed de62eedea5 Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the
updated nitter.conf in the repo for an example. The compile-time
option (-d:hostname) is no longer used.
2019-10-21 05:19:00 +02:00
Zed 2a2255d75a Unshortify links when stripping html 2019-10-11 19:20:40 +02:00
Zed 73cfc6979f Display profile bio in preview 2019-10-11 18:43:56 +02:00