Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -440,13 +440,13 @@ website_configs = {
|
|
440 |
"url_prefix": "https://golomtbank.com"
|
441 |
},
|
442 |
"Bank of America": {
|
443 |
-
"base_url": "https://newsroom.bankofamerica.com/content/newsroom/press-releases.html",
|
444 |
-
"article_selector": '
|
445 |
-
"title_selector": '
|
446 |
-
"date_selector": '
|
447 |
"link_selector": 'a',
|
448 |
-
"content_selector": '
|
449 |
-
"next_page_selector": '
|
450 |
"url_prefix": "https://newsroom.bankofamerica.com"
|
451 |
},
|
452 |
# Add more banks as needed
|
|
|
440 |
"url_prefix": "https://golomtbank.com"
|
441 |
},
|
442 |
"Bank of America": {
|
443 |
+
"base_url": "https://newsroom.bankofamerica.com/content/newsroom/press-releases.html?page=1&year=all&category=press-release-categories/corporate-and-financial-news&categTitle=Corporate%20and%20Financial%20News",
|
444 |
+
"article_selector": 'prlist-detail-container',
|
445 |
+
"title_selector": 'pr-list-head',
|
446 |
+
"date_selector": 'prlist-date',
|
447 |
"link_selector": 'a',
|
448 |
+
"content_selector": 'richtext text',
|
449 |
+
"next_page_selector": 'brand-SystemRight',
|
450 |
"url_prefix": "https://newsroom.bankofamerica.com"
|
451 |
},
|
452 |
# Add more banks as needed
|