This one is just for me. No explanation. As is. This script will let you download all the posts submitted by any Reddit user. Just put the user name in line 9.
Making the timeout error in urllib2 look a bit nicer. The error Sometimes when you’re trying to open a url and the connection is crap, it will fail to connect and Python will spit out a timeout error message…which looks a bit like this. Using try: and except: A nice way of removing this horrible […]