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

Class Spider

tutorial/py_model.py:8–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import json
7
8class Spider(Spider):
9 def getName(self):
10 return "Model"
11 def init(self,extend=""):
12 pass
13 def isVideoFormat(self,url):
14 pass
15 def manualVideoCheck(self):
16 pass
17 def homeContent(self,filter):
18 result = {}
19 return result
20 def homeVideoContent(self):
21 result = {}
22 return result
23 def categoryContent(self,tid,pg,filter,extend):
24 result = {}
25 return result
26 def detailContent(self,array):
27 result = {}
28 return result
29 def searchContent(self,key,quick):
30 result = {}
31 return result
32 def playerContent(self,flag,id,vipFlags):
33 result = {}
34 return result
35 config = {
36 "player": {},
37 "filter": {}
38 }
39 header = {}
40 def localProxy(self,param):
41 action = {
42 'url':'',
43 'header':'',
44 'param':'',
45 'type':'string',
46 'after':''
47 }
48 return [200, "video/MP2T", action, ""]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected