pypatent icon indicating copy to clipboard operation
pypatent copied to clipboard

Too slow to get data

Open chenxizhang opened this issue 1 year ago • 0 comments

I run the search with below code, what I want is get 5 items , but it seems like the library still will load the first page (50 items). It's too slow to get data.

import pypatent
from selenium import webdriver

with webdriver.Firefox() as driver:
    conn = pypatent.WebConnection(use_selenium=True, selenium_driver=driver)
    res = pypatent.Search('microsoft', results_limit=5,
                          web_connection=conn)
    print(res)

chenxizhang avatar Aug 13 '22 10:08 chenxizhang