Added header fetcher and parser functions to image_downloader.py