Skip to content

Commit

Permalink
Clearer README
Browse files Browse the repository at this point in the history
  • Loading branch information
danhydro committed Jul 16, 2019
1 parent c1dc958 commit 41bb003
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ pypatent is a tiny Python package to easily search for and scrape US Patent and

[PyPI page](https://pypi.python.org/pypi/pypatent)

#### New in version 1.2

This version implements Selenium support for scraping.
Previous versions were using the `requests` library for all requests, however this has had problems with the USPTO site lately.
I notice some users have been able to use `requests` without issue, while others get 4xx errors.

PyPatent Version 1.2 implements an optional new WebConnection object to give the user the option to use Selenium WebDrivers in place of the `requests` library.
This WebConnection object is optional.
If used, it should be passed as an argument when initializing `Search` or `Patent` objects.

Use it in the following cases:
* When you want to use Selenium instead of `requests`
* When you want to use `requests` but with a custom user-agent or headers

See bottom of README for examples.

## Requirements

Expand Down

0 comments on commit 41bb003

Please sign in to comment.