JohnLamontagne / SEC-Scraper

Straight-forward scraping algorithm to gather corporate filings from the Securities and Exchange Commission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SECScraper

Straight-forward automated scraping program to gather corporate filings from the Securities and Exchange Commission

Requirements

  • Python 3.6

Dependencies

Installation

Git:

git clone https://github.com/JohnLamontagne/SEC-Scraper.git
pip3 install -r requirements.txt

Intall wkhtmltopdf

Usage

python main.py -t "STOCK TICKER" 

Optional Paramaters

  • --directory value or -d value : Directory in which to output files (program will create a subdirectory named after the company ticker to which to dump files)
  • --exclude value or -e value : Filing types to be excluded (e.g., "S-4"), seperated by commas if multiple.
  • --include value or -i value : Filing types to be explicitly included. Utilizing this paramater will result in any form not specified being ignored for download.
  • --enddate date : Furthest date from which to pull filings (furthest from the present)
  • --startdate date : Soonest date from which to pull filings (closest to the present)

About

Straight-forward scraping algorithm to gather corporate filings from the Securities and Exchange Commission

License:GNU General Public License v3.0


Languages

Language:Python 100.0%