(self)
return {'key': '1', 'sip': ['http://dl.stream.qqmusic.qq.com/']}
更新后的不需要再获取token, sip变为固定URL:
            http://dl.stream.qqmusic.qq.com/
更新后的不需要再获取token, sip变为固定URL:
            http://dl.stream.qqmusic.qq.com/
更新后的不需要再获取token sip变为固定URL : http : // dl . stream . qqmusic . qq . com /
def _get_qqtoken(self):
        """
            更新后的不需要再获取token, sip变为固定URL:
            http://dl.stream.qqmusic.qq.com/
        """
        # token_url = 'http://base.music.qq.com/fcgi-bin/fcg_musicexpress.fcg?' + \
        #     'json=3&guid=3768717388&g_tk=938407465&loginUin=0&hostUin=0&' + \
        #     'format=jsonp&inCharset=GB2312&outCharset=GB2312&notice=0&' + \
        #     'platform=yqq&jsonpCallback=jsonCallback&needNewCode=0'

        # data = self.httpRequest(token_url, method='GET',
        #                         headers=self.tokenHeaders)

        # with ignored():
        #     data = data[len("jsonCallback("):-2]

        #     return json.loads(data)
        return {'key': '1', 'sip': ['http://dl.stream.qqmusic.qq.com/']}
def _get_qqtoken ( self ) : # token_url = 'http://base.music.qq.com/fcgi-bin/fcg_musicexpress.fcg?' + \ #     'json=3&guid=3768717388&g_tk=938407465&loginUin=0&hostUin=0&' + \ #     'format=jsonp&inCharset=GB2312&outCharset=GB2312&notice=0&' + \ #     'platform=yqq&jsonpCallback=jsonCallback&needNewCode=0' # data = self.httpRequest(token_url, method='GET', #                         headers=self.tokenHeaders) # with ignored(): #     data = data[len("jsonCallback("):-2] #     return json.loads(data) return { 'key' : '1' , 'sip' : [ 'http://dl.stream.qqmusic.qq.com/' ] }