MCPcopy Create free account
hub / github.com/UndCover/PyramidStore / getCookie

Method getCookie

plugin/py_bilibili.py:52–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 return result
51 cookies = ''
52 def getCookie(self):
53 rsp = self.fetch("https://www.bilibili.com/")
54 self.cookies = rsp.cookies
55 return rsp.cookies
56 def categoryContent(self,tid,pg,filter,extend):
57 result = {}
58 url = 'https://api.bilibili.com/x/web-interface/search/type?search_type=video&keyword={0}&duration=4&page={1}'.format(tid,pg)

Callers 1

categoryContentMethod · 0.95

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected