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.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for queryswap-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e7dcb934418067fba91c4869136fb5de4af4e17caa22c333b46a2d90f3b65e |
|
MD5 | 9e2b29c6f88a9e7d97ed5486335406b9 |
|
BLAKE2b-256 | 8ddb163c1ef9d36609bbffba9de08318e090b7c8d7715e51b71c43b3edb5771f |