updated base urls for webscraping
Browse files- 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/
|
| 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 = []
|