def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'videacesky.cz', 'http://www.videacesky.cz', username, password, filter, tmp_dir) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='.'): ContentProvider.__init__(self, 'fastshare.cz', 'http://www.fastshare.cz/', username, password, filter, tmp_dir) opener = build_opener( urllib.request.HTTPCookieProcessor(LWPCookieJar())) install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='.'): ContentProvider.__init__(self, 'sledujuserialy.cz', 'http://www.sledujuserialy.cz/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'jaksetodela.cz', 'http://www.jaksetodela.cz/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'mojevideo.sk', 'http://www.mojevideo.sk', username, password, filter, tmp_dir) opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(http.cookiejar.LWPCookieJar())) urllib.request.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='.'): ContentProvider.__init__(self, 'webshare.cz', 'http://webshare.cz/', username, password, filter, tmp_dir) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.token = ''
def __init__(self, username=None, password=None, filter=None): try: ContentProvider.__init__(self, name='czsklib', base_url='/', username=username, password=password, filter=filter) #util.init_urllib() self.usr = username self.pwd = password self.devId = '' self.o2language = 'ces' self.showEpg = False self.useNewLoginMethod = True self.devName = "Nexus 7" self.token = None self.language = language.getLanguage() self.streamQuality = 'HD' self.init_trans() o2log.logInfo("init o2tv...") self.session = None self.header = { "X-Nangu-App-Version": "Android#1.2.9", "X-Nangu-Device-Name": self.devName, "User-Agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 7 Build/LMY47V)", "Accept-Encoding": "gzip", "Connection": "Keep-Alive" } except: o2log.logError("init o2tv failed.\n%s" % traceback.format_exc()) pass
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'joj.sk', 'http://www.joj.sk/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.debugging = True
def __init__(self, username=None, password=None, filter=None, reverse_eps=False, force_english=False, use_memory_cache=True): ContentProvider.__init__(self, name='sosac.ph', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps self.force_english = force_english self.cache = simplecache.SimpleCache() if use_memory_cache: self.cache.enable_mem_cache = use_memory_cache else: xbmcgui.Dialog().notification( 'Memory cache: ', 'Can not switch off memory cache for now, sorry', time=1000, sound=False)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'rtvs.sk', 'http://www.rtvs.sk', username, password, filter, tmp_dir) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.archive_url = self._url('tv.archive.alphabet/') if not os.path.exists(self.tmp_dir): os.makedirs(self.tmp_dir)
def __init__(self, username=None, password=None, filter=None, tmp_dir='.'): ContentProvider.__init__(self, 'mixer.cz', 'http://www.mixer.cz/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.paging = 50 self.clips_path = os.path.join(tmp_dir, 'clips.json')
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'ulozto.cz','https://www.ulozto.cz/',username,password,filter) self.search_type='' self.cp = urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar()) self.rh = UloztoHTTPRedirectHandler() self.rh.throw = False self.rh.location = None self.init_urllib()
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__( self, 'playtvak.cz', 'http://generix.idnes.cz/generatory/playtvak/slowtvxml.aspx', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'sledujufilmy.cz', self.urls['Filmy'], username, password, filter) # Work around April Fools' Day page util.init_urllib(self.cache) cookies = self.cache.get('cookies') if not cookies or len(cookies) == 0: util.request(self.base_url)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'befun.cz', 'http://befun.cz/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.order_by = '' self.strict_search = False
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='sosac.ph', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) util.init_urllib(self.cache) cookies = self.cache.get(util.CACHE_COOKIES) if not cookies or len(cookies) == 0: util.request(self.base_url) self.reverse_eps = reverse_eps
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'ta3.com', 'http://www.ta3.com/', username, password, filter, tmp_dir) self.cp = urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar()) self.init_urllib()
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'mtr.sk', 'https://www.mtr.sk/rss/', username, password, filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.getVideoArchiv() self.headers = {'User-Agent': 'Mozilla/5.0'}
def __init__(self, username=None, password=None, filter=None, quickparser=False): ContentProvider.__init__(self, 'sledujufilmy.cz', self.urls['Filmy'], username, password, filter) # Work around April Fools' Day page util.init_urllib(self.cache) self.quickparser=quickparser cookies = self.cache.get('cookies') if not cookies or len(cookies) == 0: util.request(self.base_url)
def __init__(self, username=None, password=None, filter=None, site_url='http://hellspy.cz/'): ContentProvider.__init__(self, 'hellspy.cz', site_url, username, password, filter) opener = build_opener(HTTPCookieProcessor(LWPCookieJar())) install_opener(opener)
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='sosac.ph', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps self.streamujtv_user = None self.streamujtv_pass = None self.streamujtv_location = None
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='sosac.ph', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps if self.lang == ISO_639_1_CZECH: self.ISO_639_1_CZECH = ISO_639_1_CZECH + '/' else: self.ISO_639_1_CZECH = ''
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'zkouknito.cz','http://zkouknito.cz/',username,password,filter) ck = cookielib.Cookie(version=0, name='confirmed', value='1', port=None, port_specified=False, domain='zkouknito.cz', domain_specified=True, domain_initial_dot=False, path='/', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False) cj = cookielib.LWPCookieJar() cj.set_cookie(ck) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'markiza.sk', 'https://videoarchiv.markiza.sk/', username, password, filter, tmp_dir) self.cp = urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar()) self.init_urllib()
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'ivysilani.cz', 'http://ivysilani.cz', username, password, filter, tmp_dir) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'rtvs.sk', 'http://www.rtvs.sk/televizia/archiv', username, password, filter, tmp_dir) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) if not os.path.exists(self.tmp_dir): os.makedirs(self.tmp_dir)
def __init__(self, username=None, password=None, filter=None): try: ContentProvider.__init__(self, name='czsklib', base_url='/', username=username, password=password, filter=filter) util.init_urllib() self.wsuser = username self.wspass = password self.language = language.getLanguage() self.init_trans() orangelog.logDebug("init orangetv..."); self.session = None except: orangelog.logError("init orangetv failed.\n%s"%traceback.format_exc()) pass
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp', quality=3): ContentProvider.__init__(self, 'titulkomet.cz', 'http://www.titulkomet.cz', username, password, filter, tmp_dir) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) self.quality = int(quality) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='prehraj.me', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps
def __init__(self, username=None, password=None, filter=None, uid=None): ContentProvider.__init__(self, name='czsklib', base_url=sctop.BASE_URL, username=username, password=password, filter=filter) self.tr = tracker.TrackerInfo().getSystemInfo() self.uid = uid util.UA = self.tr['useragent'] + ' ver' + str(sctop.addonInfo('version')) #util.debug("[SC] tr: %s" % str(self.tr)) self.cache = sctop.cache util.debug("[SC] init cache %s" % self.cache.__class__.__name__) util.init_urllib(self.cache) cookies = self.cache.get('cookies') #if not cookies or len(cookies) == 0: # util.request(self._url(self.base_url)) self.ws = None
def __init__(self, username=None, password=None, filter=None, uid=None): ContentProvider.__init__(self, name='czsklib', base_url=sctop.BASE_URL, username=username, password=password, filter=filter) self.tr = tracker.TrackerInfo().getSystemInfo() self.uid = uid util.UA = self.tr['useragent'] #util.debug("[SC] tr: %s" % str(self.tr)) util.init_urllib(self.cache) cookies = self.cache.get('cookies') if not cookies or len(cookies) == 0: util.request(self.base_url) self.ws = None
def __init__(self, username=None, password=None, filter=None): try: ContentProvider.__init__(self, name='czsklib', base_url='/', username=username, password=password, filter=filter) util.init_urllib() self.wsuser = username self.wspass = password self.language = language.getLanguage() self.init_trans() orangelog.logDebug("init orangetv...") self.session = None except: orangelog.logError("init orangetv failed.\n%s" % traceback.format_exc()) pass
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='sosac.ph', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener( urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps if self.lang == ISO_639_1_CZECH: self.ISO_639_1_CZECH = ISO_639_1_CZECH + '/' else: self.ISO_639_1_CZECH = ''
def __init__(self, username=None, password=None, filter=None, uid=None): ContentProvider.__init__(self, name='czsklib', base_url=sctop.BASE_URL, username=username, password=password, filter=filter) self.tr = tracker.TrackerInfo().getSystemInfo() self.uid = uid util.UA = self.tr['useragent'] + ' ver' + str( sctop.addonInfo('version')) #util.debug("[SC] tr: %s" % str(self.tr)) self.cache = sctop.cache self.ws = wx(sctop.getSetting('wsuser'), sctop.getSetting('wspass'), self.cache) util.debug("[SC] init cache %s" % self.cache.__class__.__name__) util.init_urllib(self.cache) cookies = self.cache.get('cookies') hasTrakt = str(sctop.getSetting('trakt.token') != '') util.debug('[SC] has trakt: %s' % hasTrakt) sctop.win.setProperty('sc.trakt', hasTrakt)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'zkouknito.cz', 'http://zkouknito.cz/', username, password, filter) ck = cookielib.Cookie(version=0, name='confirmed', value='1', port=None, port_specified=False, domain='zkouknito.cz', domain_specified=True, domain_initial_dot=False, path='/', path_specified=True, secure=False, expires=None, discard=True, comment=None, comment_url=None, rest={'HttpOnly': None}, rfc2109=False) cj = cookielib.LWPCookieJar() cj.set_cookie(ck) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) urllib2.install_opener(opener)
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'playtvak.cz','http://generix.idnes.cz/generatory/playtvak/slowtvxml.aspx',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'re-play.cz','http://re-play.cz/category/videoarchiv/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, reverse_eps=False): ContentProvider.__init__(self, name='prehraj.me', base_url=MOVIES_BASE_URL, username=username, password=password, filter=filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'tvnoe.cz','http://www.tvnoe.cz',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.order_by = '' self.strict_search = False
def __init__(self, username=None, password=None, filter=None, quickparser=False): ContentProvider.__init__(self, 'tv-archiv.sk', self.urls['Filmy'], username, password, filter)
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'playserial.cz','http://playserial.eu/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'topserialy.to', self.urls['Seriály'], username, password, filter)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp'): ContentProvider.__init__(self, 'ta3.com', 'http://www.ta3.com/', username, password, filter, tmp_dir) self.cp = urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar()) self.rh = TA3HTTPRedirectHandler() self.init_urllib()
def __init__(self,username=None,password=None,filter=None,reverse_eps=False): ContentProvider.__init__(self,'tv.sosac.ph','http://tv.sosac.ph/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.reverse_eps = reverse_eps
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp', newLoad=True): ContentProvider.__init__(self, 'videoarchiv.markiza.sk', 'http://videoarchiv.markiza.sk', username, password, filter, tmp_dir) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.newLoadMethod = newLoad
def __init__(self, username=None, password=None, filter=None, tmp_dir='.'): ContentProvider.__init__(self, 'mixer.cz', 'http://www.mixer.cz/', username, password, filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.paging = 50 self.clips_path = os.path.join(tmp_dir, 'clips.json')
def __init__(self,username=None,password=None,filter=None,site_url='http://hellspy.cz/'): ContentProvider.__init__(self,'hellspy.cz',site_url,username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'hejbejse.tv','http://www.kynychova.cz/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, "nastojaka.cz", "http://www.nastojaka.cz/", username, password, filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self, username=None, password=None, filter=None, tmp_dir='/tmp', quality='0'): ContentProvider.__init__(self, 'videoarchiv.markiza.sk', 'http://videoarchiv.markiza.sk', username, password, filter, tmp_dir) util.init_urllib() self.quality = quality self.useCache = True
def __init__(self,username=None,password=None,filter=None): ContentProvider.__init__(self,'mtr.sk','http://www.mtr.sk/rss/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener)
def __init__(self,username=None,password=None,filter=None,tmp_dir='.'): ContentProvider.__init__(self,'pohadkar.cz','http://www.pohadkar.cz/',username,password,filter) opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookielib.LWPCookieJar())) urllib2.install_opener(opener) self.tmp_dir = tmp_dir
def __init__(self, username=None, password=None, filter=None): ContentProvider.__init__(self, 'teevee.sk', 'http://www.teevee.sk', username, password, filter) util.init_urllib(self.cache)