TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jbms/finance-dl/llms.txt
Use this file to discover all available pages before exploring further.
finance_dl.anthem scraper downloads Anthem BlueCross Explanation of Benefits (EOB) statements as PDF files, along with structured JSON claim data, using selenium and chromedriver. Because Anthem actively detects and blocks automated login attempts, this scraper is semi-automatic: you log in and navigate to the claims page yourself in the visible browser window, then the scraper takes over to download all available claims.
Configuration Parameters
The initial URL to open in the browser. The user is responsible for manually logging in and navigating to the claims page from this starting point. Use
'https://anthem.com' as the standard value.Path on the local filesystem where output files will be written. The directory is created automatically if it does not already exist.
Path to a persistent Chrome browser profile directory used exclusively for this scraper. Do not point this at your regular browser profile. When omitted, a fresh temporary profile is used on every run.
A persistent
profile_dir is recommended so that your Anthem session can be reused across runs, reducing how often you need to complete the manual login flow.Must be set to
False. The manual login step requires a visible browser window. This parameter is listed explicitly in the config to make the requirement clear.Manual Login Flow
Because Anthem blocks automated logins, you must complete the sign-in process yourself each time. Once you have navigated to the claims page, the scraper takes over automatically.Launch the scraper
Run
finance-dl with your Anthem configuration. A visible Chrome window will open and navigate to login_url.Log in to your Anthem account
In the browser window, enter your Anthem username and password and complete any multi-factor authentication challenge.
Navigate to the claims page
After logging in, manually browse to the claims listing page within the Anthem website.
Output Format
Two files are written tooutput_directory for each claim:
| File | Description |
|---|---|
<id>.json | JSON representation of the claim as returned by the Anthem server. |
<id>.pdf | The Explanation of Benefits (EOB) PDF statement for the claim. |