Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional name parameter to direct file url #1116

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

ccloli
Copy link
Contributor

@ccloli ccloli commented Dec 31, 2024

Support redirecting to specific quality of image, like:

  • https://d.fixupx.com/i/status/1234567890 -> https://pbs.twimg.com/media/foobarbaz.jpg
  • https://d.fixupx.com/i/status/1234567890:orig -> https://pbs.twimg.com/media/foobarbaz.jpg:orig
  • https://d.fixupx.com/i/status/1234567890?name=orig -> https://pbs.twimg.com/media/foobarbaz.jpg:orig
  • https://fxtwitter.com/i/status/1234567890.jpg?name=orig -> https://pbs.twimg.com/media/foobarbaz.jpg:orig

@dangeredwolf dangeredwolf enabled auto-merge (squash) January 28, 2025 10:25
@dangeredwolf dangeredwolf merged commit 66f8f03 into FixTweet:main Jan 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants