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

Method playerContent

plugin/py_kunyu77.py:155–169  ·  view source on GitHub ↗
(self,flag,id,vipFlags)

Source from the content-addressed store, hash-verified

153 "User-Agent":"Dalvik/2.1.0"
154 }
155 def playerContent(self,flag,id,vipFlags):
156 result = {}
157 url = 'http://api.kunyu77.com/api.php/provide/parserUrl?url={0}'.format(id)
158 jo = self.fetch(url,headers=self.header).json()
159 result = {
160 'parse':0,
161 'jx':0,
162 'playUrl':'',
163 'url':id,
164 'header':''
165 }
166 if flag in vipFlags:
167 result['parse'] = 1
168 result['jx'] = 1
169 return result
170 def isVideoFormat(self,url):
171 pass
172 def manualVideoCheck(self):

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected