How can I export the motion tracking markers to csv? The blender motion tracking markers are very convenient to use but it seems there is no direct way to export the path of the markers themselves.

Is there a way to export the paths of multiple motion tracking markers to a csv or other text file?

(I found this script but it seems to only work if the marker is set at frame 0, my markers are added at various frames)

Thanks
The script on this github page can export the data of each motion tracking marker.