

@staticmethod
def _clean_query(query):
    NEEDED_ARGS = ['publishedid', 'customerid']
    query_dic = compat_urlparse.parse_qs(query)
    cleaned_dic = dict(((k, v[0]) for (k, v) in query_dic.items() if (k in query_dic)))
    cleaned_dic['playerid'] = '247'
    cleaned_dic['videokbrate'] = '100000'
    return compat_urllib_parse.urlencode(cleaned_dic)

dataset/ETHPy150Open yasoob/youtube-dl-GUI/youtube_dl/extractor/internetvideoarchive.py InternetVideoArchiveIE._clean_query/VarMisuse@59/81 `NEEDED_ARGS`->`query_dic`