예제 #1
0
 def __init__(self):
     log.info('Starting interia.pl')
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "interia.cookie"
예제 #2
0
 def __init__(self):
     log.info('Starting streamon.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.settings = settings.TVSettings()
     self.pp = pageparser.pageparser()
예제 #3
0
 def __init__(self):
     log.info('Starting interia.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo(
         'path') + os.path.sep + "cookies" + os.path.sep + "interia.cookie"
예제 #4
0
 def __init__(self):
     log.info('Starting goodcast.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "goodcast.cookie"
     self.pp = pageparser.pageparser()
     self.p = Player.Player()
예제 #5
0
 def __init__(self):
     log.info('Starting goodcast.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.settings = settings.TVSettings()
     self.COOKIEFILE = ptv.getAddonInfo(
         'path') + os.path.sep + "cookies" + os.path.sep + "goodcast.cookie"
     self.pp = pageparser.pageparser()
     self.p = Player.Player()
예제 #6
0
 def __init__(self):
     log.info('Starting cdapl.pl')
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "cdapl.cookie"
예제 #7
0
 def __init__(self):
     log.info('Starting cdapl.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "cdapl.cookie"
예제 #8
0
 def __init__(self):
     log.info('Starting filmboxmoovie.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.p = Player.Player()
예제 #9
0
 def __init__(self):
     log.info('Starting filmsonline.pl')
     self.settings = settings.TVSettings()
     self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.p = Player.Player()
예제 #10
0
 def __init__(self):
     log.info('Starting scs.pl')
     self.settings = settings.TVSettings()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "scs.cookie"
     self.COOKIEFILE1 = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "scs1.cookie"
예제 #11
0
 def __init__(self):
     log.info('Starting kinoliveseriale.pl')
     self.settings = settings.TVSettings()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "kinoliveseriale.cookie"
     query_data = {'url': 'http://alekino.tv/auth/login', 'use_host': False, 'use_cookie': True, 'save_cookie': True, 'load_cookie': False, 'cookiefile': self.COOKIEFILE, 'use_post': False, 'return_data': True}
     data = self.cm.getURLRequestData(query_data)
예제 #12
0
파일: iptak.py 프로젝트: Azzudare/filmkodi
 def __init__(self):
     log.info('Starting IPTAK')
     #self.settings = settings.TVSettings()
     #self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.page = ""
예제 #13
0
 def __init__(self):
     log.info('Starting IPTAK')
     #self.settings = settings.TVSettings()
     #self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.page = ""
예제 #14
0
파일: mmtv.py 프로젝트: mrknow/filmkodi
 def __init__(self):
     log.info('Starting mmtv.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self._addon = xbmcaddon.Addon()
     self.COOKIEFILE = xbmc.translatePath('special://profile/addon_data/%s/cookies/mmtv.cookie' %
                                          self._addon.getAddonInfo('id'))
     self.settings = settings.TVSettings()
예제 #15
0
파일: scs.py 프로젝트: rockfird56/filmkodi
 def __init__(self):
     log.info('Starting scs.pl')
     self.settings = settings.TVSettings()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.COOKIEFILE = ptv.getAddonInfo(
         'path') + os.path.sep + "cookies" + os.path.sep + "scs.cookie"
     self.COOKIEFILE1 = ptv.getAddonInfo(
         'path') + os.path.sep + "cookies" + os.path.sep + "scs1.cookie"
예제 #16
0
파일: mmtv.py 프로젝트: pqncy/filmkodi
 def __init__(self):
     log.info('Starting mmtv.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self._addon = xbmcaddon.Addon()
     self.COOKIEFILE = xbmc.translatePath(
         'special://profile/addon_data/%s/cookies/mmtv.cookie' %
         self._addon.getAddonInfo('id'))
     self.settings = settings.TVSettings()
예제 #17
0
 def __init__(self):
     log.info('Starting kinolive.pl')
     self.settings = settings.TVSettings()
     self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.COOKIEFILE = ptv.getAddonInfo('path') + os.path.sep + "cookies" + os.path.sep + "kinoliveserial.cookie"
     query_data = {'url': 'http://alekino.tv/auth/login', 'use_host': False, 'use_cookie': True, 'save_cookie': True, 'load_cookie': False, 'cookiefile': self.COOKIEFILE, 'use_post': False, 'return_data': True}
     data = self.cm.getURLRequestData(query_data)
     self.p = Player.Player()
예제 #18
0
 def __init__(self):
     log.info("Starting kinolive.pl")
     self.settings = settings.TVSettings()
     self.parser = Parser.Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
     self.cm = libCommon.common()
     self.COOKIEFILE = ptv.getAddonInfo("path") + os.path.sep + "cookies" + os.path.sep + "kinoliveserial.cookie"
     query_data = {
         "url": "http://alekino.tv/auth/login",
         "use_host": False,
         "use_cookie": True,
         "save_cookie": True,
         "load_cookie": False,
         "cookiefile": self.COOKIEFILE,
         "use_post": False,
         "return_data": True,
     }
     data = self.cm.getURLRequestData(query_data)
     self.p = Player.Player()
예제 #19
0
 def __init__(self):
     log.info('Starting tvpstream.pl')
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = urlparser.urlparser()
예제 #20
0
 def __init__(self):
     log.info('Starting strefavod.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.p = Player.Player()
예제 #21
0
 def __init__(self):
     log.info("Starting wykop.pl")
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
예제 #22
0
 def __init__(self):
     self.cm = libCommon.common()
     self.up = urlparser.urlparser()
     self.settings = settings.TVSettings()
예제 #23
0
 def __init__(self):
   self.cm = libCommon.common()
   self.up = urlparser.urlparser()
   self.settings = settings.TVSettings()
예제 #24
0
import xbmcaddon
import xbmcgui
import xbmcplugin
from urlparse import parse_qsl
#import cookielib, os, string, StringIO
#import os, time, base64, logging, calendar
import urllib, urllib2, re
#import xbmcaddon,  xbmcgui
import urlparse
#import httplib
import  libCommon

 
cm = libCommon.common()
addon_handle = int(sys.argv[1])
xbmcplugin.setContent(addon_handle, 'movies')

def parserCDA(url):
    query_data = { 'url': url, 'use_host': False, 'use_cookie': False, 'use_post': False, 'return_data': True }
	
    link = cm.getURLRequestData(query_data)
    match = re.search("""file: ['"](.+?)['"],""",link)
    if match:   
		linkVideo = match.group(1) + '|Cookie="PHPSESSID=1&Referer=http://static.cda.pl/player5.9/player.swf'
		return linkVideo
    else: 
		return False
	
def parserCDA_duration(url):
    query_data = { 'url': url, 'use_host': False, 'use_cookie': False, 'use_post': False, 'return_data': True }
	
예제 #25
0
 def __init__(self):
     log.info('Starting cdapl.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     #self.up = urlparser.urlparser()
     self.up = mrknow_urlparser.mrknow_urlparser()
예제 #26
0
 def __init__(self):
     log.info('Starting polvod.pl')
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.p = Player.Player()
예제 #27
0
 def __init__(self):
     log.info('Starting vodpl.pl')
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = urlparser.urlparser()
     self.p = Player.Player()
예제 #28
0
 def __init__(self):
     log.info('Starting tvpstream.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
예제 #29
0
 def __init__(self):
     log.info('Starting wykop.pl')
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
예제 #30
0
 def __init__(self):
     log.info("Starting wykop.pl")
     self.cm = libCommon.common()
     self.parser = mrknow_Parser.mrknow_Parser()
     self.up = mrknow_urlparser.mrknow_urlparser()
예제 #31
0
 def __init__(self):
   self.cm = libCommon.common()
예제 #32
0
파일: default.py 프로젝트: rafllyeh/osmc
import xbmcaddon
import xbmcgui
import xbmcplugin
from urlparse import parse_qsl
#import cookielib, os, string, StringIO
#import os, time, base64, logging, calendar
import urllib, urllib2, re
#import xbmcaddon,  xbmcgui
import urlparse
#import httplib
import libCommon

cm = libCommon.common()
addon_handle = int(sys.argv[1])
xbmcplugin.setContent(addon_handle, 'movies')
# Get the plugin url in plugin:// notation.
__url__ = sys.argv[0]
# Get the plugin handle as an integer number.
__handle__ = int(sys.argv[1])


def parserCDA(url):
    query_data = {
        'url': url,
        'use_host': False,
        'use_cookie': False,
        'use_post': False,
        'return_data': True
    }

    link = cm.getURLRequestData(query_data)
예제 #33
0
 def __init__(self):
     log.info('Starting nextplus.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
예제 #34
0
 def __init__(self):
     log.info('Starting filmydokumentalne.pl')
     self.cm = libCommon.common()
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
예제 #35
0
파일: polvod.py 프로젝트: neopack1/filmkodi
 def __init__(self):
     log.info("Starting polvod.pl")
     self.parser = Parser.Parser()
     self.up = urlparser.urlparser()
     self.cm = libCommon.common()
     self.p = Player.Player()