Spaces:
Running
Running
fix gpatent query
Browse files- 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)})&
|
| 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(
|