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

Method getMedia

new_rank.py:185–199  ·  view source on GitHub ↗

获取新榜资讯

(self, page=1)

Source from the content-addressed store, hash-verified

183 return nonce, xyz
184
185 def getMedia(self, page=1):
186 """ 获取新榜资讯 """
187 url = "https://www.newrank.cn/xdnphb/index/getMedia"
188 path = 'b("/xdnphb/index/getMedia?AppKey=joker&keyword=&pageNumber={}&pageSize=10&nonce={}")'.format(page,
189 '*****')
190 nonce, xyz = self.getxyz(path)
191 data = {
192 "keyword": "",
193 "pageNumber": str(page),
194 "pageSize": "10",
195 "nonce": nonce,
196 "xyz": xyz,
197 }
198 res = self.session.post(url=url, headers=self.headers, data=data).text
199 return res
200
201 def getRank1(self):
202 """ 微信-榜单 """

Callers

nothing calls this directly

Calls 1

getxyzMethod · 0.95

Tested by

no test coverage detected