Jon has updated the CSV auto-downloader module once again, to adapt to changes on Fidelity's website. For all the hassle getting this working - it runs on Python 3.11, rather than Python 2.7.18 required for Pocketsense, so either a parallel install of Pythons is needed, or a "portable" version of Python 3.11 will need to be added instead - it may not worth the effort.
The procedure is explained in my F2O article, along with a link to the scripts, but it needs to be mentioned that this module is very much an experimental feature and that installation support will be limited. After all, logging into Fidelity and downloading the history and positions csv files manually, is a pretty easy process.
Enjoy!