[Feature] openbb-sec: Custom HTML2Markdown Conversion (#7361)

* refactor management_discussion_analysis to use custom html2markdown generator

* codespell

* mypy

* mypy

* mypy

* mypy

* some regex

* unnecessary elif

* refactor and unstack recursive nested inner functions

* fix some missing headers

* no-redef

* too-many-statements

* more header edge cases

* fix the N Weeks Ended pattern recognition

* strip breakcrumb links when finding md&a section

* experimental 20/40-F and 6-K support

* mypy..

* add pass for 6/8-K interim reports

* handle 8-k infographics too

* pylint

* pylint

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
This commit is contained in:
Danglewood
2026-03-04 08:13:39 -08:00
committed by GitHub
parent 6592436360
commit 495a670a99
8 changed files with 9587 additions and 1330 deletions

View File

@@ -1984,11 +1984,9 @@ def test_equity_ownership_government_trades(params, obb):
"symbol": "AAPL",
"calendar_year": 2024,
"calendar_period": "Q2",
"wrap_length": 120,
"include_tables": False,
"include_tables": True,
"use_cache": True,
"raw_html": False,
"strategy": "trafilatura",
"provider": "sec",
}
),