From 2b8983d3debe8372927d085ec866cc65e47f8faa Mon Sep 17 00:00:00 2001 From: Barthelemy Dagenais Date: Tue, 18 Aug 2015 04:48:23 -0400 Subject: [PATCH] cleanup. bumped version --- README.rst | 5 ++++- pylinkvalidator/__init__.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 1b83af2..12965f8 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ pylinkvalidator =============== -:Version: 0.2 +:Version: 0.3 pylinkvalidator is a standalone and pure python link validator and crawler that traverses a web site and reports errors (e.g., 500 and 404 errors) encountered. @@ -214,6 +214,9 @@ Crawl a site and use LXML to parse HTML (faster, must be installed) Print debugging info ``pylinkvalidate.py --verbose=2 http://example.com/`` +Change User-Agent request header + ``pylinkvalidate.py --header="User-Agent: Mozilla/5.0" http://example.com/`` + API Usage --------- diff --git a/pylinkvalidator/__init__.py b/pylinkvalidator/__init__.py index 972fa9d..9742fed 100644 --- a/pylinkvalidator/__init__.py +++ b/pylinkvalidator/__init__.py @@ -3,4 +3,4 @@ Main pylinkvalidator package """ -__version__ = "0.2" +__version__ = "0.3"