uktrade / stream-read-xbrl

Python package to parse Companies House accounts data in a streaming way
https://stream-read-xbrl.docs.trade.gov.uk/
MIT License
17 stars 2 forks source link

feat: range request chunking to work around slow connections getting closed #162

Closed michalc closed 8 months ago

michalc commented 8 months ago

This is to work around the behaviour of the Companies House Accounts server terminating connections that have been open a long time. If we request less data at a time, this is less likely to happen.