Skip to content

Download Scripts

Python and Bash tools for batch-downloading SEC filings. Last updated: 2026-03-10

Installation

git clone https://github.com/yennanliu/finance_data.git
cd finance_data
pip install -r requirements.txt  # or: uv sync

Python Scripts

download_10k_pdf.py

python script/download_10k_pdf.py --help

download_10k_v2.py

python script/download_10k_v2.py --help

download_grab_6k.py

python script/download_grab_6k.py --help

download_grab_6k_selenium.py

python script/download_grab_6k_selenium.py --help

Bash Scripts

batch_download_vti_top25.sh

bash script/batch_download_vti_top25.sh

SEC EDGAR API Notes

  • Maximum 10 requests/second (SEC rate limit)
  • Always include a User-Agent header with your contact email
  • Reports downloaded in PDF or HTML format
headers = {'User-Agent': 'your.email@example.com'}