/purifyurl

Remove tracking parameters from URLs

Primary LanguagePythonISC LicenseISC

purifyurl

Short Python 3 script to remove tracking parameters from URLs.

Installation

git clone https://github.com/remino/purifyurl
cd purifyurl
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
deactivate

Usage

./purifyurl 'https://youtu.be/abc&feature=def'
# https://www.youtube.com/watch?v=abc

echo 'Go to https://youtu.be/abc&feature=def to watch the video.' | ./purifyurl
# Go to https://www.youtube.com/watch?v=abc to watch the video.

See ./purifyurl --help for more options.

Libraries

This script uses the following libraries or sources: