User:Wnt/Python script to grab multiple files

This is a crude python 2.7.13 script that was useful for downloading multiple files/pages from a site. The pages were specified one per line in input.txt, full URL for each (including http: or https:) - I was just using a spreadsheet to set up the multiple numbers. I wanted to keep this around in case I lose it before I need it again, and maybe it can help someone else. I did this in 2.7.13; it didn't work on 2.7.9 because the Heartbleed bug fix prevented a handshake with https. It doesn't work in Python 3.x because urllib2 was merged into urllib and apparently needs to be altered in some way more than just deleting the 2, which I didn't bother to figure out.