Skip to main content

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.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

queryswap-0.0.4.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file queryswap-0.0.4.3.tar.gz.

File metadata

  • Download URL: queryswap-0.0.4.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for queryswap-0.0.4.3.tar.gz
Algorithm Hash digest
SHA256 b4e735cab88d59fa1e032fb3a783ba9e8bcf34eb3cbd0100cceacfb5a9ff8bf7
MD5 85b0e675072878c9db38b9c29206d373
BLAKE2b-256 0b314f477a4e21bd03994a62f3e58ffdbdd4fb587111a0031f1d73af1da04d7a

See more details on using hashes here.

File details

Details for the file queryswap-0.0.4.3-py3-none-any.whl.

File metadata

  • Download URL: queryswap-0.0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for queryswap-0.0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dbadd76f278767d649b6178885d388f1919f9463b0a17f8579067995894b623a
MD5 938d6d2123ad1be96188c07c5ec73c45
BLAKE2b-256 d38904bebf800bafa80d1faea61f3ef6caeb951db81d3f5774e075d2694656c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page