(self, uid, offset=0, limit=1000)
2017/8/12更新 新API.
            个人歌单。
2017/8/12更新 新API.
            个人歌单。
2017 / 8 / 12更新 新API . 个人歌单。
def user_playlist(self, uid, offset=0, limit=1000):
        """
            2017/8/12更新 新API.
            个人歌单。

        """
        # url = 'http://music.163.com/api/user/playlist/?offset=%s&limit=1000&uid=%s' % (offset, uid)
        # html = self.httpRequest(url, method='GET', cookies=self.cookies)
        # return html['playlist']
        data = {'offset': offset, 'uid': uid, 'limit': limit, 'csrf_token': ''}
        url = 'http://music.163.com/weapi/user/playlist'

        html = self.httpRequest(url, method='POST', data=data)

        try:
            return html['playlist']
        except:
            return {}
def user_playlist ( self , uid , offset = 0 , limit = 1000 ) : # url = 'http://music.163.com/api/user/playlist/?offset=%s&limit=1000&uid=%s' % (offset, uid) # html = self.httpRequest(url, method='GET', cookies=self.cookies) # return html['playlist'] data = { 'offset' : offset , 'uid' : uid , 'limit' : limit , 'csrf_token' : '' } url = 'http://music.163.com/weapi/user/playlist' html = self . httpRequest ( url , method = 'POST' , data = data ) try : return html [ 'playlist' ] except : return { }