Shreyas094 commited on
Commit
54be6d7
·
verified ·
1 Parent(s): 61ed87c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -441,12 +441,12 @@ website_configs = {
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": 'card bg-bank-gray-2',
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
 
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": 'div.card bg-bank-gray-2',
445
+ "title_selector": 'h2.pr-list-head',
446
+ "date_selector": 'div.prlist-date',
447
  "link_selector": 'a',
448
+ "content_selector": 'div.richtext text',
449
+ "next_page_selector": 'a.brand-SystemRight',
450
  "url_prefix": "https://newsroom.bankofamerica.com"
451
  },
452
  # Add more banks as needed