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

Method homeContent

plugin/py_bilibili.py:20–45  ·  view source on GitHub ↗
(self,filter)

Source from the content-addressed store, hash-verified

18 def manualVideoCheck(self):
19 pass
20 def homeContent(self,filter):
21 result = {}
22 cateManual = {
23 "Zard": "Zard",
24 "玩具汽车": "玩具汽车",
25 "儿童": "儿童",
26 "幼儿": "幼儿",
27 "儿童玩具": "儿童玩具",
28 "昆虫": "昆虫",
29 "动物世界": "动物世界",
30 "纪录片": "纪录片",
31 "相声小品": "相声小品",
32 "搞笑": "搞笑",
33 "假窗-白噪音": "窗+白噪音",
34 "演唱会": "演唱会"
35 }
36 classes = []
37 for k in cateManual:
38 classes.append({
39 'type_name':k,
40 'type_id':cateManual[k]
41 })
42 result['class'] = classes
43 if(filter):
44 result['filters'] = self.config['filter']
45 return result
46 def homeVideoContent(self):
47 result = {
48 'list':[]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected