Game4all commited on
Commit
b517821
·
1 Parent(s): cad07b9

fix gpatent query

Browse files
Files changed (1) hide show
  1. backends.py +1 -1
backends.py CHANGED
@@ -50,7 +50,7 @@ async def query_google_patents(browser: Browser, q: str, n_results: int = 10):
50
 
51
  await page.route("**/*", _block_resources)
52
 
53
- url = f"https://patents.google.com/?q=({quote_plus(q)})&oq={quote_plus(q)}&num={n_results}"
54
  await page.goto(url)
55
 
56
  await page.wait_for_function(
 
50
 
51
  await page.route("**/*", _block_resources)
52
 
53
+ url = f"https://patents.google.com/?q=({quote_plus(q)})&num={n_results}"
54
  await page.goto(url)
55
 
56
  await page.wait_for_function(