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.pge scraper downloads Pacific Gas and Electric (PG&E) monthly bills as PDF files using selenium and chromedriver. Each bill is saved with a filename derived from its statement date, making it straightforward to sort and archive your utility history. The PDFs are text-based and can be processed with pdftotext to extract line items for use with beancount-import or other accounting tools.
Configuration Parameters
A dictionary containing your PG&E online account login credentials.
Path on the local filesystem where PDF bill files will be saved. The directory is created automatically if it does not already exist.
When
True, the scraper stops after it encounters the most recent bill that is already present in output_directory. This allows incremental runs to complete quickly without re-downloading the full history.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.
Output Format
Each bill is saved tooutput_directory as a PDF file named by its statement date:
2017-11-28.bill.pdf.