{"id":25446598,"url":"https://github.com/eshaffer321/bankofamerica-web-scraper","last_synced_at":"2025-06-28T16:35:37.836Z","repository":{"id":62560289,"uuid":"195600145","full_name":"eshaffer321/BankofAmerica-Web-Scraper","owner":"eshaffer321","description":"Selenium screen scraper for personal financial data on bankofamerica.com","archived":false,"fork":false,"pushed_at":"2023-05-01T21:14:06.000Z","size":29,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T12:01:58.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eshaffer321.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-07T02:09:11.000Z","updated_at":"2024-11-14T21:12:23.000Z","dependencies_parsed_at":"2022-11-03T14:15:12.981Z","dependency_job_id":null,"html_url":"https://github.com/eshaffer321/BankofAmerica-Web-Scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaffer321%2FBankofAmerica-Web-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaffer321%2FBankofAmerica-Web-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaffer321%2FBankofAmerica-Web-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshaffer321%2FBankofAmerica-Web-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshaffer321","download_url":"https://codeload.github.com/eshaffer321/BankofAmerica-Web-Scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239340491,"owners_count":19622704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-17T17:59:14.151Z","updated_at":"2025-02-17T17:59:15.591Z","avatar_url":"https://github.com/eshaffer321.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BankofAmerica-Web-Scraper\n\n\nSelenium web scraper used to pull personal financial data from bankofamerica.com\n\n\n## About\nThis web scraper will pull account balances and all transactions from credit and checking accounts. This is meant to be\nused with a [node.js server](https://github.com/eshaffer321/BankOfAmerica-2-GoogleSheet-API) which will re-categorize and\ninsert into a [google sheet](https://docs.google.com/spreadsheets/d/14GYLeWTUBPFWYzXMAJJV4YPmwcsf6vabkQ0-CeHSqHQ/edit#gid=759515713). \n\n## Installing\n\nTo install dependencies and do local development, run\n```bash\npip install requirements.txt\n```\n\n## Usage\n\nTo run the program with docker (preferred):\n```bash\ndocker run -d -p 5000:5000 erickshaffer/boa-scraper:latest\n```\n\n\n## Environment variables\n\nThis project is meant to be used with a `docker-compose` file located in the \n[node.js server](https://github.com/eshaffer321/BankOfAmerica-2-GoogleSheet-API) repository.\n\n### Account File\nThe account credentials are stored in a json file. If you would like to login even with the security v2 security,\n you can provide the security answers in the file. This is not required, but the program will not work if it encounters\n these questions while parsing. This file need to located in the directory /app/var/account\n```json\n[{\n  \"name\": \"\",\n  \"username\": \"\",\n  \"password\": \"\",\n  \"security_questions\": {\n    \"What is the name of your first employer?\": \"\",\n    \"What is the street you grew up on\": \"\",\n    \"What is the name of your best friend\": \"\"\n  }\n}]\n\n```\n\n## How it works\n\nThis service first logs in, and then start to collect the account balances and overview from the my accounts page. Next, \nit will visit all checking and credit cards and start collecting the transaction info. This is the following information\nthat the program collects:\n\n```\nmerchant_name\ncategory\ndate\ndescription\namount\n```\n\nOnly the transactions from the current month are collected. Currently, the savings scraper isn't implemented. For my use\ncase I did not have many important transactions in savings. The amounts are still collected in the overview and displayed \nin the sheet. If you would like to implement savings, just create another entry in `page.py` and locators in `locator.py`.\nTo learn more about the page object design pattern, look at [the selenium docs](https://selenium-python.readthedocs.io/page-objects.html)\n\n\n## Development\n### Testing\n\nThere is a few tests located in the test directory. These will test basic login functionality, account summary recording,\nand a full functional test of the scraper. Please replace the empty strings with your account information to run these tests.\n\nHere is an example run of a full functional test run:\n```.env\npython test/FullTests.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshaffer321%2Fbankofamerica-web-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshaffer321%2Fbankofamerica-web-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshaffer321%2Fbankofamerica-web-scraper/lists"}