A url query string swapper
Project description
qs
Accepts urls from a filename and, for each query parameter, replace the value with a specified value.
Usage
Example input file:
~ % cat urls.txt
https://www.evildojo.com/index.php?q=search&name=darkmage
https://www.evildojo.com/index.php?q=search
https://www.evildojo.com/index.php
https://www.evildojo.com
Example usage:
python3 -m qs urls.txt d3v
https://www.evildojo.com/index.php?q=d3v
https://www.evildojo.com/index.php?q=d3v&name=darkmage
https://www.evildojo.com/index.php?q=search&name=d3v
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
queryswap-0.0.4.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for queryswap-0.0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c11b60d82cc086596be307ddbea97936aae4b7e3ecffca8e0557b83644c2e13d |
|
MD5 | 99149867d266624259c5c8c11daa1b71 |
|
BLAKE2b-256 | a22de4a027be51fa552d1fb75fa6251e6cb2bf5a18dfb89cb7a44717e56f2f24 |