Open random1717 opened 5 years ago
Just ran into this issue as well. The problem lies within the URL formatting, specifically line 232's replace method which changes spaces to hyphens. An easy fix is to remove that replace method and ensure that multi-word terms have escaped quotes, such as:
pypatent.Search(an="\"hoffmann la roche\"", spec="diagnostics", results_limit=1).as_list()
This is related to the issue I've been having as well. The problem is: Javascript is now enforced on the search site.
If you look at the failing requests and print the text of the results page, you will see this:
Error when running your example:
pypatent.Search('TTL/(tennis AND (racquet OR racket))')