refactor DownloadFormatLinksHelper