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

Method homeContent

plugin/py_voflix.py:20–38  ·  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 # https://meijuchong.cc/
22 result = {}
23 cateManual = {
24 "电影": "1",
25 "剧集": "2",
26 "综艺": "3",
27 "动漫": "4"
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 if(filter):
37 result['filters'] = self.config['filter']
38 return result
39 def homeVideoContent(self):
40 rsp = self.fetch("https://www.voflix.com/",headers=self.header)
41 root = self.html(rsp.text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected