Shreyas094 commited on
Commit
2ba8d33
·
verified ·
1 Parent(s): 9f7d508

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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": 'div.views-row',
445
- "title_selector": 'span.field-content',
446
- "date_selector": 'span.date-display-single',
447
  "link_selector": 'a',
448
- "content_selector": 'div.field-name-body',
449
- "next_page_selector": 'li.pager-next a',
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