default.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:catchup4kodi 作者: catchup4kodi 项目源码 文件源码
def GetCat(url):

    xunity='http://vschedules.uktv.co.uk/mobile/v2/genres?platform=ios&app_ver=4.1.0'

    response=OPEN_URL(xunity)

    link=json.loads(response)

    #data=link['data']

    for field in link:
        name= field['title'].encode("utf-8")
        iconimage= field['image'].encode("utf-8")
        brand_id=field['name']
        addDir(name.strip(),str(brand_id),4,iconimage,'')
        xbmcplugin.addSortMethod(int(sys.argv[1]), xbmcplugin.SORT_METHOD_VIDEO_TITLE)            
    setView('movies', 'default')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号