SHARE
TWEET

Untitled

a guest Oct 7th, 2016 60 Never
  1. import urllib
  2. first = 1
  3. last = 1404
  4. for next in range(first, last):
  5.     seq = "%08d" % next
  6.     url = 'http://dcleaks.com/emails/cApR/eml_download/Clinton_Foundation/'+seq+'.EML'
  7.     local_fname = './'+seq+'.eml'
  8.     print("Getting %s" % (local_fname))
  9.     try:
  10.         urllib.urlretrieve(url, local_fname)
  11.     except:
  12.         print("Skipping %s because timeout" % local_fname)
  13.         pass
RAW Paste Data
Top