manusimidt / py-xbrl

Python-based parser for parsing XBRL and iXBRL files
https://py-xbrl.readthedocs.io/en/latest/
GNU General Public License v3.0
100 stars 37 forks source link

TaxonomyNotFound: The taxonomy with namespace http://xbrl.sec.gov/dei/2024 could not be found. Please check if it is imported in the schema file #136

Closed mmistroni closed 2 days ago

mmistroni commented 1 month ago

Hello i am finding this taxonomy error while parsing a form 8k could you pls help?

import logging from xbrl.cache import HttpCache from xbrl.instance import XbrlParser, XbrlInstance

just to see which files are downloaded

logging.basicConfig(level=logging.INFO)

cache: HttpCache = HttpCache('./cache') cache.set_headers({'From': 'YOUR@EMAIL.com', 'User-Agent': 'py-xbrl/2.1.0'}) parser = XbrlParser(cache)

schema_url = "https://www.sec.gov/Archives/edgar/data/1039466/000118518524000609/novaccess20240604_8k.htm" inst: XbrlInstance = parser.parse_instance(schema_url)