check url exists and 200 status


Keywords
url
License
Other
Install
pip install url-check==0.0.24

Documentation

check url exists and 200 status

bash PyPI PyPI

Install

[sudo] pip install url-check

Features

  • exit status 0 if url exists and HTTP status 200, 1 if error
  • show error HTTP status

Examples

$ url-check https://www.npmjs.com # $? = 0
$ url-check https://not-existing # $? != 0
$ url-check https://google.com/not-existing # $? != 0
HTTP/1.1 404 Not Found

Feedback GitHub followers GitHub issues