def find_cid_flvcd(videourl):
    global vid, cid, partname, title
    logging.info('Fetching webpage with raw page...')
    #request = urllib2.Request(videourl, headers=FAKE_HEADER)
    data = send_request(videourl, FAKE_HEADER, IS_FAKE_IP)
    #request.add_header('Accept-encoding', 'gzip')
    #try:
        #response = urllib2.urlopen(request)
    #except urllib2.HTTPError:
        #logging.info('ERROR!')
        #return ''
    #if response.info().get('Content-Encoding') == 'gzip':
        #buf = StringIO(response.read())
        #f = gzip.GzipFile(fileobj=buf)
        #data = f.read()
    data_list = data.split('\n')
    logging.debug(data)
    # Todo: read title
    for lines in data_list:
        if 'cid=' in lines:
            cid = lines.split('&')
            cid = cid[0].split('=')
            cid = cid[-1]
            logging.info('cid is ' + str(cid))
            break

#----------------------------------------------------------------------
str->None
dataset/ETHPy150Open cnbeining/Biligrab/biligrab.py/find_cid_flvcd