CodeWritingCow / sec-web-scraper-13f

Python Web scraper for parsing 13F filings (mutual fund holdings) from SEC website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SEC Python Web Scraper

This repository contains a Python Web scraper for parsing 13F filings (mutual fund holdings) from SEC's website, EDGAR, and writing a .tsv file from the data.

Requirements

Getting Started

  • pip install -r requirements.txt (or pipenv install if you are using pipenv)
  • python scraper.py (or pipenv run python scraper.py)
  • When prompted, enter the 10-digit CIK number of a mutual fund

Key Dependencies

  • Requests, Python library for making HTTP requests
  • lxml, Python library for processing XML and HTML
  • Beautiful Soup, Python library for scraping information from Web pages
  • re, Python module for using regular expressions
  • csv, Python module for parsing and writing CSV and TSV files

Contributor

References

About

Python Web scraper for parsing 13F filings (mutual fund holdings) from SEC website

License:MIT License


Languages

Language:Python 100.0%