Web Scraping SEC 13Fs

(Web Scraping SEC 13Fs)[https://github.com/takline/TK-Projects/tree/main/Web%20Scraping%20%26%20Automation/scrape_sec_13fs]

Welcome to the magical world of “Treasury Tales”! This enchanting repository houses our Python Web Scraper, a delightful tool for unraveling the mysteries of 13F filings (those intriguing declarations of mutual fund holdings) from the SEC’s enchanted forest, known as EDGAR. Our scraper not only seeks out these filings but also artfully crafts a .tsv file from the gleaned data, like an alchemist turning lead into gold.

Spellbook Requirements

Embarking on Your Journey

  • Cast the spell pip install -r requirements.txt (or, if you’re a wizard of the pipenv school, use pipenv install) to gather all the magical ingredients.
  • Summon the scraper by invoking python scraper.py (or, in the lands of pipenv, chant pipenv run python scraper.py).
  • When the oracle speaks, respond with the 10-digit CIK number of the mutual fund you seek to unravel.

Potent Potions and Charms

  • Requests, a mystical Python scroll for conjuring HTTP requests.
  • lxml, a powerful Python tome for parsing the cryptic languages of XML and HTML.
  • Beautiful Soup, a sorcerer’s Python guide for extracting secrets from the depths of Web pages.
  • re, a Python spell for weaving and interpreting the complex tapestry of regular expressions.
  • csv, a Python scroll for decoding and inscribing CSV and TSV scripts.

Keeper of the Codex

Scrolls of Wisdom

Embark on your journey with “Treasury Tales” and uncover the hidden treasures within the SEC’s vast vaults of data. Happy exploring! 🌟📜🔍