Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too slow to get data #16

Open
chenxizhang opened this issue Aug 13, 2022 · 0 comments
Open

Too slow to get data #16

chenxizhang opened this issue Aug 13, 2022 · 0 comments

Comments

@chenxizhang
Copy link

chenxizhang commented Aug 13, 2022

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant