Skip to content

Instantly share code, notes, and snippets.

@Munksgaard
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Munksgaard/98cf2ecdc3ca065392c0 to your computer and use it in GitHub Desktop.
Save Munksgaard/98cf2ecdc3ca065392c0 to your computer and use it in GitHub Desktop.
#!/bin/env python2
import urllib2
def main():
f = open('fil', 'r')
out = open('out', 'w')
for line in f:
h = urllib2.urlopen(line)
out.write(h.read())
if __name__=="__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment