Python script help

cool1574 at gmail.com cool1574 at gmail.com
Wed Jul 31 04:15:12 EDT 2013


Here are some scripts, how do I put them together to create the script I want? (to search a online document and download all the links in it)
p.s: can I set a destination folder for the downloads?

urllib.urlopen("http://....")

possible_urls = re.findall(r'\S+:\S+', text)

import urllib2
response = urllib2.urlopen('http://www.example.com/')
html = response.read()



More information about the Python-list mailing list