Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthias Sieber manonthemat

View GitHub Profile
View gist:7063263
import urllib2
import random
import difflib
import datetime
def fetch(url):
"""Fetches requested url, returns lines in list"""
response = urllib2.urlopen(url)
lines = response.readlines()
return lines