def __init__(self):
     CBaseHostClass.__init__(self, {'history':'StreamComplet', 'cookie':'StreamComplet.cookie'})
     self.cacheFilters = {}
     self.USER_AGENT = "Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; androVM for VirtualBox ('Tablet' version with phone caps) Build/JRO03S) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"
     self.USER_AGENT2 = "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)"
     self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html'}
     self.defaultParams = {'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'Cinemay', 'cookie':'Cinemay.cookie'})
     self.catCache = {'movies':[], 'series':[]}
     self.USER_AGENT = "Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; androVM for VirtualBox ('Tablet' version with phone caps) Build/JRO03S) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"
     self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html'}
     self.defaultParams = {'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
     self.seriesCache = {}
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'SolarMovie', 'cookie':'SolarMovie.cookie'})
     self.movieGenresCache = []
     self.tvshowGenresCache = []
     self.seriesCache = []
     self.episodesCache = []
     self.linksCache = {}
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'Dailymotion', 'cookie':'dailymotion.cookie'})
     self.filterCache = {}
     self.apiData = {'client_type': 'androidapp',
                     'client_version': '4775',
                     'family_filter':'false'
                    }
示例#5
0
    def __init__(self):
        CBaseHostClass.__init__(self, {'history':'Filmy3dEU', 'cookie':'playtube.cookie'})

        #Login data
        self.loggedIn = None
        
        self.catCache = {'cat_az':[], 'cat_movies':[], 'filled':False}
示例#6
0
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'  HDFilmeTV.tv', 'cookie':'hdfilmetv.cookie'})
     self.defaultParams = {'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
     self.filtersCache = {'genre':[], 'country':[], 'sort':[]}
     self.seasonCache = {}
     self.cacheLinks = {}
     self.needProxy = None
 def __init__(self):
     printDBG("GrooveShark.__init__")
     CBaseHostClass.__init__(self, {'history':'GrooveShark.com'})     
     self.api = GroovesharkApi()
     self.initiated = False
     self.loggedIn  = None
     self.url_cache = {'id':0, 'urlTab':[]}
 def __init__(self):
     printDBG("Urllist.__init__")
     
     self.MAIN_GROUPED_TAB = [{'category': self.RAFALCOOL1_FILE,    'title': ("Propozycje Rafalcool1"),        'desc': ("Lista filmów wybranych przez kolegę Rafalcool1")}]
     if config.plugins.iptvplayer.showXXXlinks.value == True:
         self.MAIN_GROUPED_TAB.append( {'category': self.URRLIST_ADULT,    'title': ("Propozycje dla dorosłych..."),        'desc': ("Musisz podać prawidłowy PIN w konfiguracji hosta")})
     CBaseHostClass.__init__(self)               
     self.currFileHost = None 
示例#9
0
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'Kinoman', 'cookie':'kinoman.cookie'})  
     
     #Login data
     self.PREMIUM = config.plugins.iptvplayer.kinoman_premium.value
     self.LOGIN = config.plugins.iptvplayer.kinoman_login.value
     self.PASSWORD = config.plugins.iptvplayer.kinoman_password.value
     self.loggedIn = None
示例#10
0
 def __init__(self):
     printDBG("Vevo.__init__")
     CBaseHostClass.__init__(self, {'history':'vevo.com', 'cookie':'vevocom.cookie'})
     self.vevoIE = None
     self.translations = {}
     self.browseCategoryList = []
     self.cacheShows = []
     self.language = []
示例#11
0
 def __init__(self):
     CBaseHostClass.__init__(self, {"history": "CartoonHD.tv", "cookie": "cartoonhdtv.cookie"})
     self.defaultParams = {
         "use_cookie": True,
         "load_cookie": True,
         "save_cookie": True,
         "cookiefile": self.COOKIE_FILE,
     }
     self.cacheFilters = {}
     self.cacheLinks = {}
示例#12
0
 def __init__(self):
     printDBG("Urllist.__init__")
     
     self.MAIN_GROUPED_TAB = [{'category': 'all', 'title': (_("All in one")), 'desc': (_("Links are videos and messages, without division into categories")), 'icon':'http://osvita.mediasapiens.ua/content/news/001000-002000/shyfrovanie_dannyh_1415.jpg'}]
     if config.plugins.iptvplayer.urllist_showrafalcool1.value:
         self.MAIN_GROUPED_TAB.append({'category': Urllist.RAFALCOOL1_FILE,  'title': (_("Recommended by Rafalcool1")), 'desc': (_("List of movies prepared by Rafalcool1")),                     'icon':'http://s1.bild.me/bilder/030315/3925071iconFilm.jpg'})        
     self.MAIN_GROUPED_TAB.extend( [{'category': Urllist.URLLIST_FILE,       'title': (_("Videos")),                    'desc': (_("Links to the video files from the file urllist.txt")),        'icon':'http://mohov.h15.ru/logotip_kino.jpg'}, \
                                    {'category': Urllist.URRLIST_STREAMS,    'title': (_("live transfers")),            'desc': (_("Live broadcasts from the file urllist.stream")),              'icon':'http://asiamh.ru.images.1c-bitrix-cdn.ru/images/media_logo.jpg?136879146733721'}, \
                                    {'category': Urllist.URRLIST_USER,       'title': (_("User files")),                'desc': (_("Favorite addresses are stored under the file urllist.user")), 'icon':'http://kinovesti.ru/uploads/posts/2014-12/1419918660_1404722920_02.jpg'}])
     CBaseHostClass.__init__(self)               
     self.currFileHost = None 
    def __init__(self):
        CBaseHostClass.__init__(self, {'history':'KinoPecetowiec', 'cookie':'kinopecetowiec.cookie'})

        #Login data
        self.PREMIUM         = config.plugins.iptvplayer.kinopecetowiec_premium.value
        self.LOGIN           = config.plugins.iptvplayer.kinopecetowiec_login.value
        self.PASSWORD        = config.plugins.iptvplayer.kinopecetowiec_password.value
        self.filmssortField  = 'sort_field=%s&sort_method=desc' % config.plugins.iptvplayer.kinopecetowiec_filmssort.value
        self.loggedIn = None        
        self.linksCacheCache = {}
        self.serialCache     = []
        self.informedAboutLoginRequirements = False
 def __init__(self):
     printDBG("TvnVod.__init__")
     CBaseHostClass.__init__(self, {'history':'TvnVod', 'proxyURL': config.plugins.iptvplayer.proxyurl.value, 'useProxy': config.plugins.iptvplayer.proxyenable.value})
     
     if self.getDevice() == 'Samsung TV':
         userAgent = TvnVod.HOST
     else:
         userAgent = TvnVod.HOST_ANDROID
     
     self.cm.HEADER = {'User-Agent': userAgent, 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
     self.itemsPerPage = 30 # config.plugins.iptvplayer.tvp_itemsperpage.value
     self.loggedIn = None
     self.ACCOUNT  = False
示例#15
0
 def __init__(self):
     printDBG("TvnVod.__init__")
     CBaseHostClass.__init__(self, {'history':'TvnVod', 'proxyURL': config.plugins.iptvplayer.proxyurl.value, 'useProxy': config.plugins.iptvplayer.proxyenable.value})
     
     if config.plugins.iptvplayer.TVNdevice.value == 'Samsung TV':
         self.baseUrl = 'https://api.tvnplayer.pl/api?platform=ConnectedTV&terminal=Samsung&format=json&v=3.0&authKey=ba786b315508f0920eca1c34d65534cd'
         userAgent = TvnVod.HOST
     else:
         self.baseUrl = 'https://api.tvnplayer.pl/api?platform=Mobile&terminal=Android&format=json&v=3.1&authKey=4dc7b4f711fb9f3d53919ef94c23890c' #b4bc971840de63d105b3166403aa1bea
         userAgent = TvnVod.HOST_ANDROID
     
     self.cm.HEADER = {'User-Agent': userAgent, 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
     self.itemsPerPage = 30 # config.plugins.iptvplayer.tvp_itemsperpage.value
     self.loggedIn = None
     self.ACCOUNT  = False
    def __init__(self):
        CBaseHostClass.__init__(self, {'history':'PlayTube', 'cookie':'playtube.cookie'})

        #Login data
        self.PREMIUM = config.plugins.iptvplayer.playtube_premium.value
        self.LOGIN = config.plugins.iptvplayer.playtube_login.value
        self.PASSWORD = config.plugins.iptvplayer.playtube_password.value
        self.loggedIn = None
        
        # to speed up navigation beetween filters they will be parsed only once
        self.filters = {}
        self.filters['sort'] = []
        self.filters['ver'] = []
        self.filters['cat'] = []
        self.filtersFilled = False
        
        self.linksCacheCache = {}
示例#17
0
    def __init__(self):
        printDBG("cda.__init__")
        CBaseHostClass.__init__(self, {'history':'cda.pl', 'cookie':'cdapl.cookie'})
        self.HEADER = {'User-Agent': 'Mozilla/5.0', 'Accept': 'text/html'}
        self.defaultParams = {'header': self.HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update( {'X-Requested-With': 'XMLHttpRequest'} )
        
        self.MAIN_URL = 'https://www.cda.pl/'
        self.SEARCH_URL = self.getFullUrl('video/show/%s/p%d?s=%s')
        self.DEFAULT_ICON_URL = 'http://www.download.net.pl/upload/NewsSeptember2015/CDA-Filmy/cdalogo.jpg'
        
        self.MAIN_TAB = [{'category':'video',             'title': 'Filmy wideo',  'url':''},
                         {'category':'premium',           'title': 'CDA Premium',  'url':self.getFullUrl('premium')},
                         {'category':'channels_cats',     'title': 'Kanały',       'url':''},
                         {'category':'search',            'title': _('Search'), 'search_item':True},
                         {'category':'search_history',    'title': _('Search history')}]
        
        self.VIDEO_TAB = [{'category':'categories',       'title': 'Główna',       'base_url':'video'},
                          {'category':'categories',       'title': 'Poczekalnia',  'base_url':'video/poczekalnia'}]

        self.CATEGORIES_TAB = [{'url' : '',       'category':'category', 'title' : '--Wszystkie--'}, 
                               {'url' : '/kat26', 'category':'category', 'title' : 'Krótkie filmy i animacje'}, 
                               {'url' : '/kat24', 'category':'category', 'title' : 'Filmy Extremalne'}, 
                               {'url' : '/kat27', 'category':'category', 'title' : 'Motoryzacja, wypadki'}, 
                               {'url' : '/kat28', 'category':'category', 'title' : 'Muzyka'}, 
                               {'url' : '/kat29', 'category':'category', 'title' : 'Prosto z Polski'}, 
                               {'url' : '/kat30', 'category':'category', 'title' : 'Rozrywka'}, 
                               {'url' : '/kat31', 'category':'category', 'title' : 'Sport'}, 
                               {'url' : '/kat32', 'category':'category', 'title' : 'Śmieszne filmy'}, 
                               {'url' : '/kat33', 'category':'category', 'title' : 'Różności'}, 
                               {'url' : '/kat34', 'category':'category', 'title' : 'Życie studenckie'} ]
        self.cacheFilters = {}
        self.filtersTab = []
        self.loggedIn = None
        self.login    = ''
        self.password = ''
示例#18
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'Filmotopia',
            'cookie': 'filmativa.net.cookie'
        })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Accept-Encoding':
            'gzip, deflate',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept':
            'application/json, text/javascript, */*; q=0.01'
        })

        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'with_metadata': True,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }

        self.seriesCache = {}
        self.seasons = []
示例#19
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'HDKinoMir',
            'cookie': 'HDKinoMir.cookie'
        })
        self.USER_AGENT = "Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; androVM for VirtualBox ('Tablet' version with phone caps) Build/JRO03S) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30"
        self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html'}

        self.defaultParams = {
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
        self.sortCache = []
        self.catCache = []
        self.moonwalkParser = MoonwalkParser()
        self.ytParser = YouTubeParser()

        self.MAIN_URL = 'http://hdkinomir.com/'
        self.DEFAULT_ICON_URL = self.getFullIconUrl(
            '/templates/prokino/images/logo.png')

        self.MAIN_CAT_TAB = [{
            'category': 'categories',
            'title': _('Movie categories'),
            'url': self.getMainUrl()
        }, {
            'category': 'search',
            'title': _('Search'),
            'search_item': True
        }, {
            'category': 'search_history',
            'title': _('Search history')
        }]

        self.encoding = ''
示例#20
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'filmaon.com',
            'cookie': 'filmaon.com.cookie'
        })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.MAIN_URL = 'http://www.filmaon.com/'
        self.DEFAULT_ICON_URL = 'http://www.filmaon.com/wp-content/themes/Dooplay_/assets/img/Logomakr1.png'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Accept-Encoding':
            'gzip, deflate',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept':
            'application/json, text/javascript, */*; q=0.01'
        })

        self.cacheLinks = {}
        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'with_metadata': True,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#21
0
    def __init__(self):
        CBaseHostClass.__init__(
            self, {
                'history': 'tainieskaiseires.tv',
                'cookie': 'tainieskaiseires.tv.cookie'
            })
        self.defaultParams = {
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }

        self.DEFAULT_ICON_URL = 'http://www.tainieskaiseires.tv/wp-content/uploads/2017/01/Logo-002.png'
        self.HEADER = {
            'User-Agent':
            'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0',
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With': 'XMLHttpRequest',
            'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept': '*/*'
        })
        self.MAIN_URL = None
        self.cacheLinks = {}
        self.seasonsCache = {}
        self.defaultParams = {
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#22
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'dpstreaming.cx',
            'cookie': 'dpstreaming.cx.cookie'
        })

        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'Accept': 'text/html'
        }
        self.MAIN_URL = 'https://www.streaming-series.watch/'
        self.DEFAULT_ICON_URL = 'http://reviewme.co.za/wp-content/uploads/2013/06/lista_series_7327_622x.jpg'
        self.MAIN_CAT_TAB = [{
            'category': 'list_items',
            'title': 'Nouveaux Films',
            'url': self.getMainUrl()
        }, {
            'category': 'sort',
            'title': 'Parcourir',
            'url': self.getFullUrl('/parcourir/')
        }, {
            'category': 'search',
            'title': _('Search'),
            'search_item': True
        }, {
            'category': 'search_history',
            'title': _('Search history'),
        }]

        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#23
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'musicmp3.ru',
            'cookie': 'musicmp3.ru.cookie'
        })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.MAIN_URL = 'https://musicmp3.ru/'
        self.DEFAULT_ICON_URL = 'http://www.darmowe-na-telefon.pl/uploads/tapeta_240x320_muzyka_23.jpg'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Accept-Encoding':
            'gzip, deflate',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept':
            'application/json, text/javascript, */*; q=0.01'
        })

        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'with_metadata': True,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
        self.jscode = []
示例#24
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'ako.am',
            'cookie': 'ako.am.cookie'
        })
        self.MAIN_URL = 'https://ar.akoam.net/'

        self.USER_AGENT = self.cm.getDefaultHeader()['User-Agent']
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = MergeDicts(
            self.HTTP_HEADER, {
                'X-Requested-With': 'XMLHttpRequest',
                'Accept-Encoding': 'gzip, deflate',
                'Content-Type':
                'application/x-www-form-urlencoded; charset=UTF-8',
                'Accept': 'application/json, text/javascript, */*; q=0.01'
            })

        self.DEFAULT_ICON_URL = self.getFullIconUrl(
            '/scripts/site/img/main_logo.png')

        self.cacheLinks = {}
        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'with_metadata': True,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#25
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'streaminghd.fun',
            'cookie': 'streaminghd.fun.cookie'
        })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.MAIN_URL = 'https://streaminghd.online/'
        self.DEFAULT_ICON_URL = 'https://www.pitupitu.pl/files/QMQNlOEPWQjUCVWov3CCWIVv0zs/coverBig'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Accept-Encoding':
            'gzip, deflate',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept':
            'application/json, text/javascript, */*; q=0.01'
        })

        self.cacheLinks = {}
        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'with_metadata': True,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#26
0
    def __init__(self):
        CBaseHostClass.__init__(
            self, {
                'history': 'andrija-i-andjelka.com',
                'cookie': 'andrija-i-andjelka.com.cookie'
            })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0'
        self.HEADER = {
            'User-Agent': self.USER_AGENT,
            'Accept':
            'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
            'Accept-Language': 'pl,en-US;q=0.7,en;q=0.3',
            'Accept-Encoding': 'gzip, deflate',
            'Upgrade-Insecure-Requests': '1',
            'Connection': 'keep-alive'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8'
        })

        self.MAIN_URL = 'https://andrija-i-andjelka.com/'
        #https://previews.123rf.com/images/yusufsangdes89/yusufsangdes891507/yusufsangdes89150700042/42557652-cinema-camera-icon-movie-lover-series-icon.jpg
        self.DEFAULT_ICON_URL = 'https://img00.deviantart.net/972b/i/2010/241/0/4/tv_series_icon_set_by_silentbang-d2xl0kj.jpg'

        self.defaultParams = {
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE,
            'cookie_items': {}
        }
        self.timestam = 0
示例#27
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'filme-online.to.tv',
            'cookie': 'filme-online.to.cookie'
        })
        self.defaultParams = {
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }

        self.DEFAULT_ICON_URL = 'https://filme-online.to/assets/images/filme-online-logo4e.png'
        self.HEADER = {
            'User-Agent':
            'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0',
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With': 'XMLHttpRequest',
            'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept': '*/*'
        })
        self.MAIN_URL = None
        self.cacheLinks = {}
        self.cacheFilters = {}
        self.cacheFiltersKeys = []
        self.defaultParams = {
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#28
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'spiegel.tv',
            'cookie': 'spiegel.tv.cookie'
        })
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.MAIN_URL = 'http://www.spiegel.tv/'
        self.DEFAULT_ICON_URL = 'https://images-na.ssl-images-amazon.com/images/I/31bnL4xLAkL.png'
        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({
            'X-Requested-With':
            'XMLHttpRequest',
            'Accept-Encoding':
            'gzip, deflate',
            'Content-Type':
            'application/x-www-form-urlencoded; charset=UTF-8',
            'Accept':
            'application/json, text/javascript, */*; q=0.01'
        })

        self.cacheLinks = {}
        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
        self.oneconfig = {'client_id': '748'}
示例#29
0
    def __init__(self):
        CBaseHostClass.__init__(self, {'history':'FiliserTv.tv', 'cookie':'filisertv.cookie'})
        
        self.USER_AGENT = 'Mozilla/5.0'
        self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html'}
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update( {'X-Requested-With': 'XMLHttpRequest'} )
        self.defaultParams = {'header':self.HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}

        self.MAIN_URL = 'https://fili.cc/'
        self.DEFAULT_ICON_URL = 'https://fili.cc/assets/img/logo2.png'
        
        self.MAIN_CAT_TAB = [{'category':'list_items',        'title': _('Movies'),                       'url':self.getFullUrl('filmy')   },
                             {'category':'list_items',        'title': _('Series'),                       'url':self.getFullUrl('seriale') },
                             {'category':'search',            'title': _('Search'),               'search_item':True,                      },
                             {'category':'search_history',    'title': _('Search history'),                                                } 
                            ]
        
        self.cacheFilters = {}
        self.cacheLinks = {}
        self.cacheSeasons = {}
        FiliserTv.SALT_CACHE = {}
        self.WaitALittleBit  = None
        self.filtersTab = [] # ['language', 'genres', 'year', 'sort_by']
    def __init__(self):
        printDBG("ZDFmediathek.__init__")
        CBaseHostClass.__init__(self, {
            'history': 'ZDFmediathek.tv',
            'cookie': 'zdfde.cookie'
        })
        self.DEFAULT_ICON_URL = 'https://www.zdf.de/static//img/bgs/zdf-typical-fallback-314x314.jpg'

        self.KINDER_TAB = [{
            'category':
            'explore_item',
            'title':
            _('Home page'),
            'url':
            self.getFullUrl('/kinder'),
            'icon':
            self.getIconUrl('/assets/zdftivi-home-100~384x216')
        }, {
            'category':
            'kinder_list_abc',
            'title':
            _('Program A-Z'),
            'url':
            self.getFullUrl('/kinder/sendungen-a-z'),
            'icon':
            self.getIconUrl('/assets/a-z-teaser-100~384x216')
        }, {
            'category':
            'explore_item',
            'title':
            _('Missed the show?'),
            'url':
            self.getFullUrl('/kinder/sendung-verpasst'),
            'icon':
            self.getIconUrl('/assets/buehne-tivi-sendung-verpasst-100~384x216')
        }]
示例#31
0
    def __init__(self):
        CBaseHostClass.__init__(self, {'history': 'DancetrippinTV.tv', 'cookie': 'kinomantv.cookie'})
        self.defaultParams = {'with_metadata': True, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}

        self.HEADER = {'User-Agent': 'Mozilla/5.0', 'Accept': 'text/html'}
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})

        self.MAIN_URL = "http://www.dancetelevision.net/"
        self.DEFAULT_ICON_URL = 'https://frenezy.files.wordpress.com/2010/10/dancetrippin.jpg'

        self.MAIN_CAT_TAB = [{'category': 'fill_items', 'title': _('LATEST CONTENT'), 'url': self.getMainUrl()},
                             {'category': 'channels', 'title': _('CHANNELS '), 'url': self.getMainUrl()},
                             {'category': 'artists', 'title': _('ARTISTS'), 'url': self.getMainUrl()},
                             {'category': 'fill_items', 'title': _('PARTIES'), 'url': self.getFullUrl('/parties')},
                             {'category': 'fill_items', 'title': _('VENUES'), 'url': self.getFullUrl('/venues')},
                             {'category': 'search', 'title': _('Search'), 'search_item': True},
                             {'category': 'search_history', 'title': _('Search history')}]

        self.ARTISTS_CAT_TAB = [{'category': 'fill_items', 'title': _('Most featured'), 'url': self.getFullUrl('/artists')},
                                {'category': 'fill_items', 'title': _('Alphabetical '), 'url': self.getFullUrl('/artists/sort/alphabetical')}]

        self.cacheItems = []
        self.cacheFilters = []
示例#32
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'oipeirates.online',
            'cookie': 'oipeirates.online.cookie'
        })

        self.USER_AGENT = 'Mozilla/5.0'
        self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html'}
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})

        self.MAIN_URL = 'https://oipeirates.tv/'
        self.DEFAULT_ICON_URL = 'http://1.bp.blogspot.com/-EWw9aeMT-bo/U1_TUm3oM-I/AAAAAAAABiE/n07eIp9i6CI/s1600/oipeirates.jpg'

        self.defaultParams = {
            'with_metadata': True,
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
        self.cacheFilters = {}
        self.cacheLinks = {}
示例#33
0
 def __init__(self):
     CBaseHostClass.__init__(self, {
         'history': 'interia.tv',
         'cookie': 'interia.tv.cookie'
     })
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'http://interia.tv/'
     self.DEFAULT_ICON_URL = 'http://static.wirtualnemedia.pl/media/top/interia-2015logohaslo-655.png'
     self.HTTP_HEADER = {
         'User-Agent': self.USER_AGENT,
         'DNT': '1',
         'Accept': 'text/html',
         'Accept-Encoding': 'gzip, deflate',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.AJAX_HEADER = dict(self.HTTP_HEADER)
     self.AJAX_HEADER.update({
         'X-Requested-With':
         'XMLHttpRequest',
         'Accept-Encoding':
         'gzip, deflate',
         'Content-Type':
         'application/x-www-form-urlencoded; charset=UTF-8',
         'Accept':
         'application/json, text/javascript, */*; q=0.01'
     })
     self.defaultParams = {
         'header': self.HTTP_HEADER,
         'with_metadata': True,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.searchFiltersData = []
示例#34
0
    def __init__(self):

        CBaseHostClass.__init__(self)

        self.MAIN_URL = 'http://raiplay.it/'
        self.MENU_URL = "http://www.rai.it/dl/RaiPlay/2016/menu/PublishingBlock-20b274b1-23ae-414f-b3bf-4bdc13b86af2.html?homejson"
        self.CHANNELS_URL = "http://www.rai.it/dl/RaiPlay/2016/PublishingBlock-9a2ff311-fcf0-4539-8f8f-c4fee2a71d58.html?json"
        self.CHANNELS_RADIO_URL = "http://rai.it/dl/portaleRadio/popup/ContentSet-003728e4-db46-4df8-83ff-606426c0b3f5-json.html"
        self.EPG_URL = "http://www.rai.it/dl/palinsesti/Page-e120a813-1b92-4057-a214-15943d95aa68-json.html?canale=[nomeCanale]&giorno=[dd-mm-yyyy]"
        self.TG_URL = "http://www.tgr.rai.it/dl/tgr/mhp/home.xml"
        self.RELINKER_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2956.0 Safari/537.36"

        self.DEFAULT_ICON_URL = "https://images-eu.ssl-images-amazon.com/images/I/41%2B5P94pGPL.png"
        self.NOTHUMB_URL = "http://www.rai.it/cropgd/256x144/dl/components/img/imgPlaceholder.png"

        self.HTTP_HEADER = self.cm.getDefaultHeader(browser='chrome')
        self.defaultParams = {'header': self.HTTP_HEADER}
        #self.defaultParams = { 'header': {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0'}}
        self.defaultParams = {
            'header': {
                'User-Agent':
                "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2956.0 Safari/537.36"
            }
        }
示例#35
0
    def __init__(self):
        # init global variables for this class

        CBaseHostClass.__init__(self, {
            'history': 'cinemalibero',
            'cookie': 'cinemalibero.cookie'
        })  # names for history and cookie files in cache

        # vars default values
        # various urls
        self.MAIN_URL = 'https://cinemalibero.win/'

        # url for default icon
        self.DEFAULT_ICON_URL = "https://www.cinemalibero.win/wp-content/themes/Cinemalibero%202.0/images/logo02.png"

        # default header and http params
        self.HTTP_HEADER = self.cm.getDefaultHeader(browser='chrome')
        self.defaultParams = {
            'header': self.HTTP_HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#36
0
    def __init__(self):
        CBaseHostClass.__init__(self)
        self.MAIN_URL = 'https://livetvhd.net/'
        self.HEADER = {
            'User-Agent':
            'Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10',
            'Accept': 'text/html'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})

        self.COOKIE_FILE = GetCookieDir('livetvhdnet.cookie')

        self.http_params = {}
        self.http_params.update({
            'header': self.HEADER,
            'save_cookie': True,
            'load_cookie': True,
            'cookiefile': self.COOKIE_FILE
        })

        self.cacheList = {}

        self.needProxy = None
示例#37
0
 def __init__(self):
     CBaseHostClass.__init__(self, {
         'history': 'IceFilms.tv',
         'cookie': 'IceFilms.cookie'
     })
     self.USER_AGENT = 'Mozilla/5.0'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Accept':
         'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
         'Accept-Encoding': 'gzip, deflate'
     }
     self.AJAX_HEADER = dict(self.HEADER)
     self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})
     self.cm.HEADER = self.HEADER  # default header
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.DEFAULT_ICON_URL = 'http://whatyouremissing.weebly.com/uploads/1/9/6/3/19639721/144535_orig.jpg'
     self.MAIN_URL = None
示例#38
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            "history": "sonyplayer.hu",
            "cookie": "sonyplayerhu.cookie"
        })

        self.DEFAULT_ICON_URL = _gh("sonypictures.jpg")
        self.HEADER = self.cm.getDefaultHeader()
        self.MAIN_URL = "https://hu.axn.com/"

        self.loggedIn = False

        self.defaultParams = {"header": self.HEADER}

        self.sites = ["axn", "viasat", "sonymax", "sonymovie"]
        self.siteDefs = [{
            "title": "AXN HU Player",
            "icon": _gh("axnplayer.jpg"),
            "base": "https://hu.axn.com",
            "all": "/axn-player/minden-video"
        }, {
            "title": "Viasat HU Play",
            "icon": _gh("viasatplay.jpg"),
            "base": "https://www.viasat3.hu",
            "all": "/viasat-play/minden-video"
        }, {
            "title": "Sony MAX HU " + _("Videos"),
            "icon": _gh("sonymax-wapadedrud.jpg"),
            "base": "https://www.sonymax.hu",
            "all": "/videok/all"
        }, {
            "title": "Sony Movie Channel HU " + _("Videos"),
            "icon": _gh("sonymoviechannel-wapadedrud.jpg"),
            "base": "https://www.sonymoviechannel.hu",
            "all": "/videok/minden"
        }]
    def __init__(self):
        printDBG("Youtube.__init__")
        CBaseHostClass.__init__(self, {
            'history': 'ytlist',
            'cookie': 'youtube.cookie'
        })
        self.UTLIST_FILE = 'ytlist.txt'
        self.DEFAULT_ICON_URL = 'https://lodz.adwent.pl/wp-content/uploads/YouTube-icon-full_color.png'
        self.MAIN_GROUPED_TAB = [{'category': 'from_file',             'title': _("User links"),     'desc': _("User links stored in the ytlist.txt file.")}, \
                                 {'category': 'search',                'title': _("Search"),         'desc': _("Search youtube materials "), 'search_item':True}, \
                                 {'category': 'feeds',                 'title': _("On Time"), 'desc': _("Browse youtube trending feeds")}, \
                                 {'category': 'search_history',        'title': _("Search history"), 'desc': _("History of searched phrases.")}]

        self.SEARCH_TYPES = [
            (_("Video"), "video"),
            (_("Channel"), "channel"),
            (_("Playlist"), "playlist"),
            #(_("Movie"),    "movie"   ),
            (_("Live"), "live")
        ]
        #("Program",            "show"    ),
        #("traylist",           "traylist"),
        self.ytp = YouTubeParser()
        self.currFileHost = None
示例#40
0
    def __init__(self):
        CBaseHostClass.__init__(
            self, {
                'history': 'ted.com',
                'cookie': 'ted.com.cookie',
                'cookie_type': 'MozillaCookieJar'
            })
        self.USER_AGENT = 'User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})

        self.DEFAULT_ICON_URL = 'https://tedconfblog.files.wordpress.com/2015/03/jr-and-ted-logo.jpg?w=400'
        self.MAIN_URL = None

        self.cacheTalksFilters = []
        self.cachePlaylistsFilters = []
        self.cacheAllTopics = []
        self.cacheTalksLanguages = []
        self.cacheAllEvents = []

        self.defaultParams = {
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
        self.defaultAjaxParams = dict(self.defaultParams)
        self.defaultAjaxParams['header'] = self.AJAX_HEADER

        self._getHeaders = None
示例#41
0
    def __init__(self):
        printDBG("Youtube.__init__")
        CBaseHostClass.__init__(self, {
            'history': 'ytlist',
            'cookie': 'youtube.cookie'
        })
        self.UTLIST_FILE = 'ytlist.txt'
        self.DEFAULT_ICON_URL = 'https://www.vippng.com/png/full/85-853653_patreon-logo-png-transparent-background-youtube-logo.png'
        self.MAIN_GROUPED_TAB = [{'category': 'from_file',             'title': _("User links"),     'desc': _("User links stored in the ytlist.txt file.")}, \
                                 {'category': 'search',                'title': _("Search"),         'desc': _("Search youtube materials "), 'search_item':True}, \
                                 {'category': 'feeds',                 'title': _("Trending Feeds"), 'desc': _("Browse youtube trending feeds")}, \
                                 {'category': 'search_history',        'title': _("Search history"), 'desc': _("History of searched phrases.")}]

        self.SEARCH_TYPES = [
            (_("Video"), "video"),
            (_("Channel"), "channel"),
            (_("Playlist"), "playlist"),
            #(_("Movie"),    "movie"   ),
            (_("Live"), "live")
        ]
        #("Program",            "show"    ),
        #("traylist",           "traylist"),
        self.ytp = YouTubeParser()
        self.currFileHost = None
示例#42
0
    def __init__(self):
        printDBG("ZDFmediathek.__init__")
        CBaseHostClass.__init__(self, {
            'history': 'ZDFmediathek.tv',
            'cookie': 'zdfde.cookie'
        })
        self.DEFAULT_ICON_URL = 'https://axinomcdn.blob.core.windows.net/wwwaxinomcom/2016/10/ZDF_Logo.jpg'

        self.KINDER_TAB = [{
            'category':
            'explore_item',
            'title':
            _('Home page'),
            'url':
            self.getFullUrl('/kinder'),
            'icon':
            self.getIconUrl('/assets/zdftivi-home-100~384x216')
        }, {
            'category':
            'kinder_list_abc',
            'title':
            _('Program A-Z'),
            'url':
            self.getFullUrl('/kinder/sendungen-a-z'),
            'icon':
            self.getIconUrl('/assets/a-z-teaser-100~384x216')
        }, {
            'category':
            'explore_item',
            'title':
            _('Missed the show?'),
            'url':
            self.getFullUrl('/kinder/sendung-verpasst'),
            'icon':
            self.getIconUrl('/assets/buehne-tivi-sendung-verpasst-100~384x216')
        }]
示例#43
0
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'joemonster.org',
            'cookie': 'joemonster.org.cookie'
        })

        self.DEFAULT_ICON_URL = 'https://joemonster.org/images/logo/jm-logo-1450873307.png'
        self.HEADER = {
            'User-Agent':
            'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0',
            'DNT': '1',
            'Accept': 'text/html'
        }
        self.AJAX_HEADER = dict(self.HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})
        self.MAIN_URL = 'https://joemonster.org/'
        self.defaultParams = {
            'with_metadata': True,
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
    def __init__(self):
        CBaseHostClass.__init__(self, {
            'history': 'ustvgo.org',
            'cookie': 'ustvgo.cookie'
        })

        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept':
            'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
            'Accept-Language': 'pl,en-US;q=0.7,en;q=0.3',
            'Accept-Encoding': 'gzip, deflate'
        }
        self.MAIN_URL = 'http://ustvgo.tv/'
        self.defaultParams = {
            'with_metadata': True,
            'header': self.HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
示例#45
0
 def __init__(self):
     proxyUrl = config.plugins.iptvplayer.proxyurl.value
     useProxy = config.plugins.iptvplayer.proxyOnet.value
 
     CBaseHostClass.__init__(self, {'proxyURL':proxyUrl, 'useProxy':useProxy, 'history':'vod.pl', 'cookie':'vod.pl.cookie', 'cookie_type':'MozillaCookieJar'})
     self.DEFAULT_ICON_URL = 'https://ocdn.eu/static/ucs/ZTc7MDA_/3981e069a1f7f560017885aaad40ea1a/assets/img/logo.png'
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.HEADER = {'User-Agent': self.USER_AGENT, 'DNT':'1', 'Accept': 'text/html'}
     self.AJAX_HEADER = dict(self.HEADER)
     self.AJAX_HEADER.update( {'X-Requested-With': 'XMLHttpRequest'} )
     self.MAIN_URL = 'https://vod.pl/'
     self.cacheFilters  = {}
     self.cacheFiltersKeys = []
     self.defaultParams = {'header':self.HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
 
     self.MAIN_CAT_TAB = [{'category':'list_filters',  'title': _('Movies'),         'url':self.getFullUrl('filmy'),              'f_element':'SiteFilmy',        },
                          {'category':'list_items',    'title': _('Series'),         'url':self.getFullUrl('seriale'),            'f_element':'SiteSeriale',      },
                          {'category':'list_filters',  'title': _('Programy onetu'), 'url':self.getFullUrl('programy-onetu'),     'f_element':'SiteProgramyOnetu',},
                          {'category':'list_filters',  'title': _('Dokumentalne'),   'url':self.getFullUrl('filmy-dokumentalne'), 'f_element':'SiteDokumenty',    },
                          
                          
                          {'category':'search',            'title': _('Search'), 'search_item':True,},
                          {'category':'search_history',    'title': _('Search history'),            } 
                         ]
示例#46
0
    def __init__(self):
        CBaseHostClass.__init__(self)
        self.MAIN_URL_TV = 'http://www.canlitvlive.io/'
        self.MAIN_URL_RADIO = 'http://www.canliradyolive.com/'
        self.MAIN_URL = self.MAIN_URL_TV
        self.DEFAULT_ICON_URL = 'http://www.canlitvlive.io/images/footer_simge.png'
        self.HTTP_HEADER = {
            'User-Agent':
            'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate'
        }
        self.AJAX_HEADER = dict(self.HTTP_HEADER)
        self.AJAX_HEADER.update({'X-Requested-With': 'XMLHttpRequest'})

        self.COOKIE_FILE = GetCookieDir('canlitvlive.io.cookie')

        self.defaultParams = {}
        self.defaultParams.update({
            'header': self.HTTP_HEADER,
            'save_cookie': True,
            'load_cookie': True,
            'cookiefile': self.COOKIE_FILE
        })
 def __init__(self):
     printDBG("SerialeNet.__init__")
     CBaseHostClass.__init__(self, {'history':'SerialeNet', 'cookie':'serialenet.cookie'})
     self.seasonsCache = []
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'GameTrailers', 'cookie':'gametrailers.cookie'})
     self.defaultParams = {'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'UstreamTV', 'cookie':'UstreamTV.cookie'})
     self.cacheFilters = {}
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'filmydokumentalne.eu', 'cookie':'filmydokumentalne.eu.cookie'})
     self.defaultParams = {'header':self.HTTP_HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
     self.cacheCats = {}
     self.defaultLangCode = ''
 def __init__(self):
     printDBG("ZalukajTv.__init__")
     CBaseHostClass.__init__(self, {'history':'ZalukajTv', 'cookie':'zalukajtv.cookie'})
     self.loggedIn = None  
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'StreamLiveTo.tv', 'cookie':'streamliveto.cookie'})
     self.defaultParams = {'header':self.HTTP_HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
     self.cacheFilters = {}
示例#53
0
 def __init__(self):
     printDBG("Playpuls.__init__")
     self.HOST = 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Mandriva Linux/1.9.2.18-0.1mdv2010.2 (2010.2) Firefox/3.6.18'
     self.HEADER = {'User-Agent': self.HOST, 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}
     CBaseHostClass.__init__(self, {'history':'Playpuls', 'proxyURL': config.plugins.iptvplayer.proxyurl.value, 'useProxy': config.plugins.iptvplayer.playpuls_proxy.value, 'cookie':'playpuls.cookie'})        
     self.cacheMenuTree = []
 def __init__(self):
     printDBG("Youtube.__init__")
     CBaseHostClass.__init__(self, {'history':'ytlist', 'cookie':'youtube.cookie'})            
     self.ytp = YouTubeParser()
     self.currFileHost = None
示例#55
0
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'SuperFilm', 'cookie':'superfilm.cookie'})
示例#56
0
 def __init__(self):
     printDBG("EkinoTv.__init__")
     CBaseHostClass.__init__(self, {'history':'EkinoTv.tv', 'cookie':'ekinotv.cookie'})
     self.cacheMovieFilters = {'cats':[], 'vers':[], 'years':[]}
     self.loggedIn = False
 def __init__(self):
     CBaseHostClass.__init__(self)
     self.ytformats = config.plugins.iptvplayer.ytformat.value
     self.ytp = YouTubeParser()
     self.lastfm_username = config.plugins.iptvplayer.MusicBox_login.value
     self.usePremiumAccount = config.plugins.iptvplayer.MusicBox_premium.value
 def __init__(self):
     CBaseHostClass.__init__(self)
 def __init__(self):
     CBaseHostClass.__init__(self, {'history':'AlltubeTV', 'cookie':'alltubetv.cookie'})
     self.filterCache = {}
     self.seriesCache = {}
     self.seriesLetters = []
     self.episodesCache = []
 def __init__(self):
     printDBG("JooglePL.__init__")
     CBaseHostClass.__init__(self, {'history':'Joogle.pl'})
     self.cacheFilters = []
     self.cacheSeries = {}