Commit Graph

91 Commits

Author SHA1 Message Date
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
Zed 1faf976d7c Use int for tweet ids for correct thread sorting 2019-10-10 18:22:14 +02:00
Zed 4407651ed6 Minor cleanup, fix empty lines before card links 2019-10-10 17:47:02 +02:00
Zed a3303d6bef Prepend "https://" to relative rss links 2019-10-10 12:16:50 +02:00
Zed fe15003665 Remove html from tweet preview 2019-10-10 11:35:48 +02:00
Zed 7b766b793b Rewrite text parsing to ensure correctness 2019-10-09 16:06:51 +02:00
Zed 211b086f4d Use "max_position" instead of "after" for compat 2019-10-08 15:15:47 +02:00
Zed 381a8a106c Show Twitter link on search pages 2019-10-08 15:07:10 +02:00
Zed 043f47b11a Show published date under main tweets
Fixes #59
2019-10-08 13:29:08 +02:00
Zed a9f4961547 Fix hashtag linkifying 2019-10-08 13:16:48 +02:00
Zed 6d61c203cf Improve hashtag regex
Fixes #47
2019-09-27 00:53:47 +02:00
Zed c158ce8517 Fix hashtag regex 2019-09-24 23:33:19 +02:00
Zed 7e713e8fa5 Fix "more replies" link for unavailable tweets 2019-09-24 16:01:09 +02:00