Skip to main content

CLI tool for fetching data using HTTP conditional get

Project description

conditional-get

PyPI CircleCI License

CLI tool for fetching data using HTTP conditional get.

Installation

pip install conditional-get

Usage

conditional-get https://static.simonwillison.net/static/2020/Simon_Willison__TIL.png

This will save to a filename derived from the URL.

conditional-get https://static.simonwillison.net/static/2020/Simon_Willison__TIL.png -o til.png

Use -o to specify a filename.

By default the ETags for the retrieved URLs will be stored in a etags.json file in the current directory.

Use --etags otherfile.json to store that file somewhere else.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

conditional_get-0.1a0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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