MCPcopy Create free account
hub / github.com/LumingMelody/JS_reverse / getRank5

Method getRank5

new_rank.py:253–260  ·  view source on GitHub ↗

bilibili-榜单

(self)

Source from the content-addressed store, hash-verified

251 return res
252
253 def getRank5(self):
254 """ bilibili-榜单 """
255 path = 'b("/nr/bili/rank/complexMainRank?")'
256 nonce, xyz = self.getxyz(path)
257 getRankUrl = f'https://www.newrank.cn/nr/bili/rank/complexMainRank?nonce={nonce}&xyz={xyz}'
258 self.data = {"numeric": "时尚", "rankDate": "2021-07-11", "start": 1, "size": 50, "rankType": "0", "type": "0"}
259 res = self.session.post(url=getRankUrl, headers=self.headers, json=self.data).text
260 return res
261
262
263if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

getxyzMethod · 0.95

Tested by

no test coverage detected