Dr-Newtons commited on
Commit
8afb8ce
1 Parent(s): 637cb54

Update tools/webScraper.py

Browse files
Files changed (1) hide show
  1. 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: