openedgar
openedgar copied to clipboard
Local filesystem fixes
I updated the LocalClient to prefix the files with the DOWNLOAD_PATH. I'm not sure if this breaks the intended design of the LocalClient but I didn't expect the downloaded files to be in my source code directory.
I have
CLIENT_TYPE=LOCAL
DOWNLOAD_PATH=/a_filesystem_with_a_lot_of_space
With this change the files pulled from edgar end up in in
- /a_filesystem_with_a_lot_of_space/documents
- /a_filesystem_with_a_lot_of_space/edgar
Let me know if this looks ok or if there is a different approach I should take.
Thanks.
Side note. the full.txt changes are what I needed to get this running on Python 3.6. What is the suggested Python version?