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

Function run

tutorial/local.py:10–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 return sp
9
10def run():
11 sp = loadFromDisk('../plugin/py_czspp.py') #载入本地脚本
12 # formatJo = sp.init([]) # 初始化
13 formatJo = sp.homeContent(True) # 主页
14 # formatJo = sp.homeVideoContent() # 主页视频
15 # formatJo = sp.searchContent("dota",False) # 搜索
16 # formatJo = sp.categoryContent('dsj','1',False,{}) # 分类
17 # formatJo = sp.detailContent(["2200"]) #详情
18 # formatJo = sp.playerContent("","bXZfMjIwMC1ubV8x",{}) # 播放
19 print(formatJo)
20
21if __name__ == '__main__':
22 run()

Callers 1

local.pyFile · 0.70

Calls 2

loadFromDiskFunction · 0.70
homeContentMethod · 0.45

Tested by

no test coverage detected