We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's stripping url parameters
url = 'https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates&utm_source=whatever_5443de' print(url_normalize(url,sort_query_params=True)) https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates print(url_normalize(url,sort_query_params=False)) https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates
url = 'https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates&utm_source=whatever_5443de' print(url_normalize(url,sort_query_params=True))
print(url_normalize(url,sort_query_params=False))
The text was updated successfully, but these errors were encountered:
url_normalize.py, line 58
url = re.sub(r"utm_source=[^&]+&?", "", url)
Why utm_source is stripped as 'unecessary data'?
Sorry, something went wrong.
No branches or pull requests
It's stripping url parameters
url = 'https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates&utm_source=whatever_5443de' print(url_normalize(url,sort_query_params=True))
https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates
print(url_normalize(url,sort_query_params=False))
https://www.example.com/xx/path/slug-whatever?atag=1234de&utm_medium=affiliates
The text was updated successfully, but these errors were encountered: