def add_collect_stats_qs(url, value):
    if '?' in url:
        url += '&'
    else:
        url += '?'
    url += 'MINCSS_STATS=%s' % value
    return url
if :url is `page.html?foo=bar` return.
dataset/ETHPy150Open peterbe/mincss/proxy/app.py/add_collect_stats_qs