• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python mrknow_pLog.pLog函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中mrknow_pLog.pLog函数的典型用法代码示例。如果您正苦于以下问题:Python pLog函数的具体用法?Python pLog怎么用?Python pLog使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了pLog函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.player = mrknow_Player.mrknow_Player()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting bajkionline.pl')
开发者ID:gitrazr,项目名称:filmkodi,代码行数:7,代码来源:bajkionline.py


示例2: __init__

    def __init__(self):
        #BASE_RESOURCE_PATH = os.path.join( os.getcwd(), "resources" )
        BASE_RESOURCE_PATH = os.path.join( ptv.getAddonInfo('path'), "resources" )
        BASE_RESOURCE_PATH = os.path.join( ptv2.getAddonInfo('path'), "resources" )

        sys.path.append( os.path.join( BASE_RESOURCE_PATH, "lib" ) )
        sys.path.append( os.path.join( BASE_RESOURCE_PATH, "resources" ) )

        sys.path.append( os.path.join( ptv.getAddonInfo('path'), "host" ) )
        import mrknow_pLog, settings, Parser, mrknow_pCommon

        self.cm = mrknow_pCommon.common()
        self.log = mrknow_pLog.pLog()
        self.settings = settings.TVSettings()
        self.parser = Parser.Parser()
        #self.log.info("DIR " + common.Paths.modulesDir + 'mainMenu.cfg')
        #self.MAIN_MENU_FILE = os.path.join( common.Paths.modulesDir, 'mainMenu.cfg' )
        self.MAIN_MENU_FILE = 'mainMenu.cfg'
        if not os.path.exists(common.Paths.pluginDataDir):
            os.makedirs(common.Paths.pluginDataDir, 0777)

        self.favouritesManager = FavouritesManager(common.Paths.favouritesFolder)
        self.customModulesManager = CustomModulesManager(common.Paths.customModulesDir, common.Paths.customModulesRepo)

        if not os.path.exists(common.Paths.customModulesDir):
            os.makedirs(common.Paths.customModulesDir, 0777)

        self.parser2 = Parser2()
        self.currentlist = None

        self.addon = None
        self.log.info('Filmy online www.mrknow.pl')
        common.clearCache()
开发者ID:neopack1,项目名称:filmkodi,代码行数:33,代码来源:default.py


示例3: mystat

def mystat(url=""):
    return True
    try:
        log = mrknow_pLog.pLog()
        hostName = urlparse.urlparse(url)[1].split(".")
        hostName = "http://" + hostName[-2] + "." + hostName[-1]
        import platform

        mainurl = "http://mrknow.ovh/apiid.html"

        cm = common()
        ptv = xbmcaddon.Addon("plugin.video.mrknow")

        MYHOST = "Kodi/%s (%s %s; %s)" % (
            xbmc.getInfoLabel("System.BuildVersion"),
            platform.system(),
            platform.release(),
            ptv.getAddonInfo("version"),
        )
        HEADER = {"Referer": hostName, "User-Agent": MYHOST}
        req = urllib2.Request("")
        query_data = {
            "url": mainurl,
            "use_host": False,
            "use_header": True,
            "header": HEADER,
            "use_post": False,
            "return_data": True,
        }
        link = cm.getURLRequestData(query_data)
        log.info("poszlo %s" % url)
    except:
        pass

    return True
开发者ID:mrknow,项目名称:filmkodi,代码行数:35,代码来源:mrknow_pCommon.py


示例4: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting testyonline.pl')
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "cdapl.cookie"
开发者ID:KostanKettch,项目名称:filmkodi,代码行数:8,代码来源:testyonline.py


示例5: __init__

 def __init__(self):
     log.info('Starting alltubeseriale.pl')
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp = mrknow_Pageparser.mrknow_Pageparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
开发者ID:mrknow,项目名称:filmkodi,代码行数:8,代码来源:alltubeseriale.py


示例6: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.log.info('Starting kreskowkazone.pl')
     self.COOKIEFILE = self.up.cookieFileName('kreskowkazone.cookie')
开发者ID:mrknow,项目名称:filmkodi,代码行数:9,代码来源:kreskowkazone.py


示例7: __init__

 def __init__(self):
     self.cm = mrknow_pCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.pp1 = mrknow_Pageparser.mrknow_Pageparser()
     self.player = mrknow_Player.mrknow_Player()
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting testyonline.pl')
     self._addon = xbmcaddon.Addon()
     self.COOKIEFILE = xbmc.translatePath('special://profile/addon_data/%s/cookies/cdapl.cookie' %
                                          self._addon.getAddonInfo('id'))
开发者ID:rrosajp,项目名称:filmkodi,代码行数:10,代码来源:testyonline.py


示例8: __init__

 def __init__(self):
     self.log = mrknow_pLog.pLog()
     self.log.info('Starting xbmcfilm.pl')
     self.p = mrknow_Player.mrknow_Player()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.settings = settings.TVSettings()
     self.api = xbmcfilmapi.XbmcFilmAPI()
     self.cm = mrknow_pCommon.common()
     self.level = 1
     self.mytree = {}
开发者ID:adrianf0,项目名称:xbmc-films-pl,代码行数:11,代码来源:default.py


示例9: mystat

def mystat(url=''):
    return True
    try:
        log = mrknow_pLog.pLog()
        hostName = urlparse.urlparse(url)[1].split('.')
        hostName = 'http://' + hostName[-2] + '.' + hostName[-1]
        import platform
        mainurl='http://mrknow.ovh/apiid.html'

        cm = common()
        ptv = xbmcaddon.Addon('plugin.video.mrknow')

        MYHOST = 'Kodi/%s (%s %s; %s)' %(xbmc.getInfoLabel("System.BuildVersion"),platform.system(), platform.release(), ptv.getAddonInfo('version') )
        HEADER = {'Referer': hostName, 'User-Agent': MYHOST}
        req = urllib2.Request('')
        query_data = {'url': mainurl, 'use_host': False, 'use_header': True, 'header': HEADER, 'use_post': False, 'return_data': True}
        link = cm.getURLRequestData(query_data)
        log.info('poszlo %s' % url)
    except:
        pass

    return True
开发者ID:gitrazr,项目名称:filmkodi,代码行数:22,代码来源:mrknow_pCommon.py


示例10: __init__

import urllib, urllib2, re, os, sys, math
import xbmcgui, xbmc, xbmcaddon, xbmcplugin
from urlparse import urlparse, parse_qs
import urlparser, urllib


scriptID = 'wtyczka.polskie.media'
scriptname = "Filmy online www.mrknow.pl - filmydokumentalne"
ptv = xbmcaddon.Addon(scriptID)

BASE_RESOURCE_PATH = os.path.join( ptv.getAddonInfo('path'), "../resources" )
sys.path.append( os.path.join( BASE_RESOURCE_PATH, "lib" ) )

import mrknow_pLog, libCommon, Parser

log = mrknow_pLog.pLog()

mainUrl = 'http://www.filmy-dokumentalne.pl/'

MENU_TAB = {1: "Najnowsze",
            2: "Najlepiej ocenione",
            3: "Wszystkie",
            4: "Szukaj" }


class filmydokumentalne:
    def __init__(self):
        log.info('Starting filmydokumentalne.pl')
        self.cm = libCommon.common()
        self.parser = Parser.Parser()
        self.up = urlparser.urlparser()
开发者ID:gosiaiunia1,项目名称:KODI_PRIV,代码行数:31,代码来源:filmydokumentalne.py



注:本文中的mrknow_pLog.pLog函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python mrknow_urlparser.mrknow_urlparser函数代码示例发布时间:2022-05-27
下一篇:
Python mrknow_pCommon.common函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap