Spaces:
Sleeping
Sleeping
Update tools/webScraper.py
Browse files- tools/webScraper.py +1 -1
tools/webScraper.py
CHANGED
|
@@ -48,7 +48,7 @@ def scrapeGoogleSearch(query):
|
|
| 48 |
"Upgrade-Insecure-Requests": "1"
|
| 49 |
}
|
| 50 |
|
| 51 |
-
searchUrl = f"https://www.google.com/search?q={query}"
|
| 52 |
|
| 53 |
# Use a session to maintain cookies
|
| 54 |
with requests.Session() as session:
|
|
|
|
| 48 |
"Upgrade-Insecure-Requests": "1"
|
| 49 |
}
|
| 50 |
|
| 51 |
+
searchUrl = f"https://www.google.com/search?q={query}+site:pubmed.ncbi.nlm.nih.gov"
|
| 52 |
|
| 53 |
# Use a session to maintain cookies
|
| 54 |
with requests.Session() as session:
|