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

Strip tracking params from YouTube links #388

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

vyneer
Copy link
Contributor

@vyneer vyneer commented Dec 27, 2023

Someone suggested it in chat this morning and I thought it was a cute idea.

Before:
ksnip_20231227-150005

After:
ksnip_20231227-150116

I had to change the order of link formatting to make this work: now it normalizes first, encodes second (otherwise it double encodes which messes up the link). I don't think it should change anything in the output.

@vyneer vyneer added the enhancement New feature or request label Dec 27, 2023
@vyneer vyneer requested a review from 11k December 27, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants