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

Method homeContent

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

Source from the content-addressed store, hash-verified

15 pass
16
17 def homeContent(self, filter):
18 result = {}
19 cateManual = {
20 "豆瓣电影Top250": "dbtop250",
21 "最新电影": "zuixindianying",
22 "电视剧": "dsj",
23 "国产剧": "gcj",
24 "美剧": "meijutt",
25 "韩剧": "hanjutv",
26 "番剧": "fanju",
27 "动漫": "dm"
28 }
29 classes = []
30 for k in cateManual:
31 classes.append({
32 'type_name': k,
33 'type_id': cateManual[k]
34 })
35 result['class'] = classes
36 return result
37
38 def homeVideoContent(self):
39 rsp = self.fetch("https://czspp.com")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected