Replaced httplib2 with urllib.