script to download the first-level out links for training purpose