(self, cat='全部歌单', types='all', offset=0, index=1):
全部歌单。列表字典形式。
全部歌单。列表字典形式。
全部歌单。列表字典形式。
def all_playlist(self, cat='全部歌单', types='all', offset=0, index=1):
        """
            全部歌单。列表字典形式。
        """
        url = 'http://music.163.com/api/playlist/list?cat=%s&type=%s&order=%s&offset=%d&total=true&limit=30&index=%d'\
            % (urllib.parse.quote(cat), types, types, offset, index)

        html = self.httpRequest(url, method='GET', cookies=self.cookies)

        try:
            return html['playlists']
        except:
            return {}
def all_playlist ( self , cat = '全部歌单', types= ' ll',  o ffset = , inde x = 1 : url = 'http://music.163.com/api/playlist/list?cat=%s&type=%s&order=%s&offset=%d&total=true&limit=30&index=%d' % ( urllib . parse . quote ( cat ) , types , types , offset , index ) html = self . httpRequest ( url , method = 'GET' , cookies = self . cookies ) try : return html [ 'playlists' ] except : return { }