initial code to download just the info entry from a magnet (Segmentation fault, currently trying to get debugger to work)