nitter/src
decoy-walrus 4cdb8f78cb Add new endpoint for original resolution images
This change is to work around the issue that chromium based browsers have handling the "name=orig" parameter appended to URLs. This parameter is needed to retrieve the full resolution image from twitter, but causes those browsers to fill in "jpg_name=orig" as the extension on the filename.

This change adds a new endpoint, "/pic/orig/<encoded media>". This new endpoint will internally fetch the URL with ":orig" appended on the end for the full res image. Externally, the endpoint will serve the image without the extra parameter to expose the real extension to the browser.

This new endpoint is used when rendering tweets with attached images. The old endpoint is still in place for all other proxied images, and for any legacy links.

I also updated the "?name=small" parameter to ":small" since that seems to be the new pattern for image sizing.

This should fix issue #458.
2022-02-07 16:21:20 -05:00
..
experimental Add experimental parser module 2022-01-26 21:05:23 +01:00
routes Add new endpoint for original resolution images 2022-02-07 16:21:20 -05:00
sass Embed CSS tweak 2022-02-05 19:43:13 +02:00
views Add new endpoint for original resolution images 2022-02-07 16:21:20 -05:00
api.nim Add experimental parser module 2022-01-26 21:05:23 +01:00
apiutils.nim Fix compilation with Nim 1.4.8 2022-01-23 14:47:13 +01:00
config.nim Add enableDebug config to turn on logs 2022-01-05 19:20:01 +01:00
consts.nim Use faster API to get pinned tweets 2022-01-23 07:45:01 +01:00
formatters.nim Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
http_pool.nim Simplify bad http client pruning 2022-01-23 07:23:09 +01:00
nitter.nim changed code to be not shit 2022-01-14 19:01:47 +02:00
parser.nim Fix timeline parser 2022-02-07 21:58:06 +01:00
parserutils.nim removed spaces 2022-01-24 21:55:14 +02:00
prefs.nim More cleanup 2022-01-02 11:21:03 +01:00
prefs_impl.nim removed weird spaces at end of line 2022-01-13 23:59:30 +02:00
query.nim Skip search requests when query is empty 2021-12-28 07:35:35 +01:00
redis_cache.nim Minor RSS behavior improvements 2022-01-27 14:55:51 +01:00
tokens.nim Set listMembers max remaining to 500 2022-01-24 12:29:03 +01:00
types.nim Fix empty pinned tweets when status wasn't found 2022-01-23 09:12:13 +01:00
utils.nim Add new endpoint for original resolution images 2022-02-07 16:21:20 -05:00