plutoa386 commited on
Commit
ac799e8
·
1 Parent(s): bfa3b45

updated base urls for webscraping

Browse files
Files changed (1) hide show
  1. webscraper.py +2 -2
webscraper.py CHANGED
@@ -77,8 +77,8 @@ def scrape_full_text(url: str) -> str:
77
 
78
  def get_patient_news_raw(count: int = 5) -> list[dict]:
79
  base_urls = [
80
- "https://www.caregiving.org/news/",
81
- "https://www.alz.org/news",
82
  "https://www.dementiaresearch.org/latest-news"
83
  ]
84
  articles = []
 
77
 
78
  def get_patient_news_raw(count: int = 5) -> list[dict]:
79
  base_urls = [
80
+ "https://www.caregiving.org/?s=dementia",
81
+ "https://www.alz.org/search?query=dementia&filters=news",
82
  "https://www.dementiaresearch.org/latest-news"
83
  ]
84
  articles = []