KMZ Map URL Extractor and Downloader

Enter URLs below (one per line). The script will extract all instances of url: "iti_kmz_map.php?id=XXXX", save them to a text file, and download each KMZ file to the kmz2 directory.