快手号-榜单
(self)
| 241 | return res |
| 242 | |
| 243 | def getRank4(self): |
| 244 | """ 快手号-榜单 """ |
| 245 | path = 'b("/xdnphb/nr/cloud/ks/mini/rank/accountAllRankList?")' |
| 246 | nonce, xyz = self.getxyz(path) |
| 247 | getRankUrl = f'https://www.newrank.cn/xdnphb/nr/cloud/ks/mini/rank/accountAllRankList?nonce={nonce}&xyz={xyz}' |
| 248 | self.data = {"type": "美食", "rankDate": "2021-07-10", "start": 1, "size": 100, "rankType": "realTime", |
| 249 | "sort": "newrankIndex"} |
| 250 | res = self.session.post(url=getRankUrl, headers=self.headers, json=self.data).text |
| 251 | return res |
| 252 | |
| 253 | def getRank5(self): |
| 254 | """ bilibili-榜单 """ |