Skip to content

Instantly share code, notes, and snippets.

View Yofel's full-sized avatar

Philip Muškovac Yofel

View GitHub Profile
#!/usr/bin/env python
import sys, re, subprocess, argparse, urllib2, StringIO, gzip
from itertools import islice
from optparse import OptionParser
from launchpadlib.launchpad import Launchpad
def get_http_gzip(url):
f = urllib2.urlopen(url)
compresseddata = f.read()