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

Method homeContent

plugin/py_douyu.py:17–34  ·  view source on GitHub ↗
(self,filter)

Source from the content-addressed store, hash-verified

15 def manualVideoCheck(self):
16 pass
17 def homeContent(self,filter):
18 result = {}
19 cateManual = {
20 "热门游戏": "热门游戏",
21 "主机游戏": "主机游戏",
22 "原创IP": "原创IP"
23 }
24 classes = []
25 for k in cateManual:
26 classes.append({
27 'type_name': k,
28 'type_id': cateManual[k]
29 })
30
31 result['class'] = classes
32 if (filter):
33 result['filters'] = self.config['filter']
34 return result
35 def homeVideoContent(self):
36 result = {}
37 return result

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected