Example #1
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'xtream.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Linux; Android 4.4.2; SAMSUNG-SM-N900A Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36'
     self.MAIN_URL = ''
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'X-Requested-With': 'com.sportstv20.app',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #2
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'arblionz.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = getinfo()['host']
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #3
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'tsiplayer.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0'
     self.MAIN_URL = 'https://gitlab.com'
     self.HTTP_HEADER = {'User-Agent': self.USER_AGENT}
     self.defaultParams = {'header': self.HTTP_HEADER}
     self.getPage = self.cm.getPage
     if config.plugins.iptvplayer.tsi_resolver.value == 'tsiplayer':
         self.ts_up = ts_urlparser()
     else:
         self.ts_up = urlparser()
     path0 = '/usr/lib/enigma2/python/Plugins/Extensions/TSmedia/scripts/'
     paths = [
         'script.module.main/lib', 'script.module.urlresolver/lib',
         'script.module.urlresolver/lib/urlresolver'
     ]
     for path in paths:
         if path0 + path not in sys.path: sys.path.append(path0 + path)
Example #4
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'extra_3sk.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'https://extra3sk.info'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #5
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'mp3quran.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'http://ar.assabile.com'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'X-Requested-With': 'XMLHttpRequest',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #6
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'star7.cookie'})
     self.Player_Agent = 'REDLINECLIENT GN-CX1200 V2.0.63'
     self.USER_AGENT = 'Dalvik/2.1.0 (Linux; U; Android 7.1.1; E6633 Build/32.4.A.1.54)'
     self.MAIN_URL = 'http://www.t100v.com'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Cookie': 'Xd58523_sfs5Ahdf=',
         'Accept': 'text/html',
         'Accept-Encoding': 'gzip, deflate',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     #self.AJAX_HEADER = dict(self.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.HEADER, 'raw_post_data':True, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}
     self.getPage = self.cm.getPage
     self.xtream_conf_path = '/etc/tsiplayer_star7live.conf'
Example #7
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'mp3quran.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'https://www.mp3quran.net'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #8
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'asia2tv.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36'
     self.MAIN_URL = 'https://astv.co'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #9
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'liveplus.cookie'})
     self.Player_Agent = 'ExoPlayerDemo/80.0 (Linux;Android 7.1.1) ExoPlayerLib/2.5.3'
     self.USER_AGENT = 'okhttp/3.8.0'
     self.MAIN_URL = 'http://www.live-plus.io'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Accept': 'application/json',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #10
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'streamlord1.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.streamlord.com'
     self.HTTP_HEADER = {
         'User-Agent': self.USER_AGENT,
         'DNT': '1',
         'Accept': 'text/html',
         'Accept-Encoding': 'gzip, deflate',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'with_metadata': True,
         'header': self.HTTP_HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #11
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'coolkora.cookie'})
     self.MAIN_URL = 'http://beinmatch.tv'
     self.USER_AGENT = 'Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'hdo.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36'
     self.MAIN_URL = 'https://hdo.to'
     self.HTTP_HEADER = {
         'User-Agent': self.USER_AGENT,
         'DNT': '1',
         'Accept': 'text/html',
         'Accept-Encoding': 'gzip, deflate',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'with_metadata': True,
         'header': self.HTTP_HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #13
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'mycima.cookie'})
     self.MAIN_URL = 'https://mycima.video'
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.011'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept':
         'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'liveplus.cookie'})
     self.Player_Agent = 'www.yacineapp.tv'
     self.USER_AGENT = 'Dalvik/2.1.0 (Linux; U; Android 8.0.0; SM-G570F Build/R16NW)'
     self.MAIN_URL = 'http://www.live-plus.io'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Accept': 'application/json',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #15
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'seehdpl.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0'
     self.MAIN_URL = 'http://www.seehd.pl'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Accept': '*/*',
         'X-Requested-With': 'XMLHttpRequest',
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Pragma': 'no-cache'
     }
     self.defaultParams = {
         'timeout': 9,
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #16
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'wiiudown.cookie'})
     self.USER_AGENT = 'Dalvik/2.1.0 (Linux; U; Android 7.1.1; E6633 Build/32.4.A.1.54)'
     self.MAIN_URL = 'https://wiiudown.com'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #17
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'n300.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Linux; Android 7.0; PLUS Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36'
     self.MAIN_URL = 'http://www.n300.me'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #18
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'cima4u2.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0'
     self.MAIN_URL = getinfo()['host']
     self.MAIN_URL2 = 'http://live.cima4u.io'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'with_metadata': True,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
Example #19
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'okanime.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'https://www.okanime.com'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept':
         'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
         'Accept-Encoding': 'gzip, deflate, br',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #20
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'movizland.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = getinfo()['host']
     self.MAIN_URL_MOBILE = 'https://app.movizland.online'
     self.defaut_mobile = False
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Content-Type': 'application/x-www-form-urlencoded',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #21
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'cimaflix.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = 'https://cimaflix.tv'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Upgrade-Insecure-Requests': '1',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'with_metadata': True,
         'no_redirection': False,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #22
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'arblionz.cookie'})
     self.MAIN_URL = getinfo()['host']
     self.SiteName = getinfo()['name']
     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',
         'Accept-Encoding': 'gzip, deflate',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'header': self.HEADER,
         'no_redirection': True,
         'with_metadata': True,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'embratoria.cookie'})
     self.Player_Agent = 'ExoPlayerDemo/80.0 (Linux;Android 7.1.1) ExoPlayerLib/2.5.3'
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0'
     self.MAIN_URL = 'http://www.embratoria.net'
     self.HEADER = {
         'User-Agent': self.USER_AGENT,
         'Connection': 'keep-alive',
         'Accept-Encoding': 'gzip',
         'Accept': 'application/json',
         'Referer': self.getMainUrl(),
         'Origin': self.getMainUrl()
     }
     self.defaultParams = {
         'timeout': 9,
         'header': self.HEADER,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.getPage = self.cm.getPage
Example #24
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'cimaclub.cookie'})
     self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
     self.MAIN_URL = getinfo()['host']
     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.defaultParams2 = {
         'header': self.AJAX_HEADER,
         'with_metadata': True,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
    def __init__(self):
        TSCBaseHostClass.__init__(self, {'cookie': 'seriestreaminghd.cookie'})
        self.USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0'
        self.MAIN_URL = 'https://www.streaminghd-serie.com'
        #		self.HEADER = {'User-Agent': self.USER_AGENT, 'Connection': 'keep-alive', 'Accept-Encoding':'gzip', 'Content-Type':'application/x-www-form-urlencoded','Referer':self.getMainUrl(), 'Origin':self.getMainUrl()}
        #		self.defaultParams = {'header':self.HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}

        self.HTTP_HEADER = {
            'User-Agent': self.USER_AGENT,
            'DNT': '1',
            'Accept': 'text/html',
            'Accept-Encoding': 'gzip, deflate',
            'Referer': self.getMainUrl(),
            'Origin': self.getMainUrl()
        }
        self.defaultParams = {
            'with_metadata': True,
            'header': self.HTTP_HEADER,
            'use_cookie': True,
            'load_cookie': True,
            'save_cookie': True,
            'cookiefile': self.COOKIE_FILE
        }
Example #26
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'swift.cookie'})
     self.USER_AGENT = 'okhttp/3.10.0'
     self.Play_User_Agent = 'Lavf/56.15.102'
     self.MAIN_URL = 'http://swiftstreamz.com'
     Authorization = 'Basic U3dpZnRTdHJlYW16OkBTd2lmdFN0cmVhbXpA'
     Authorization = 'Basic QFN3aWZ0MTEjOkBTd2lmdDExIw=='
     self.HTTP_HEADER = {
         'User-Agent': self.USER_AGENT,
         'Authorization': Authorization
     }
     self.defaultParams = {
         'header': self.HTTP_HEADER,
         'with_metadata': True,
         'use_cookie': True,
         'load_cookie': True,
         'save_cookie': True,
         'cookiefile': self.COOKIE_FILE
     }
     self.base_api_url = self.MAIN_URL + '/SwiftPanel/api.php?get_category'
     self.base_dta_url = self.MAIN_URL + '/SwiftPanel/swiftlive.php'
     self.base_cat_url = self.MAIN_URL + '/SwiftPanel/api.php?get_channels_by_cat_id=%s'
     self.vod_cat_url = self.MAIN_URL + '/SwiftPanel/api.php?get_videos_by_cat_id=%s'
Example #27
0
 def __init__(self):
     TSCBaseHostClass.__init__(self,{'cookie':'tsiplayer.cookie'})
     self.USER_AGENT    = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0'
     self.MAIN_URL      = '/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/tsiplayer/addons/vstream'
     self.MAIN_URL0     = MAIN_URL0
     self.fncs_search   = fncs_search
     self.MAIN_IMP      = 'from '+self.MAIN_URL0.replace('/usr/lib/enigma2/python/','').replace('/','.')
     self.HTTP_HEADER   = {'User-Agent': self.USER_AGENT}
     self.defaultParams = {'header':self.HTTP_HEADER}
     self.getPage       = self.cm.getPage
     self.MyPath        = GetCacheSubDir('Tsiplayer')
     printDBG('------------ MyPath= '+self.MyPath)
     self.path_listing  = self.MyPath + 'VStream_listing'
     self.DB_path       = self.MyPath + 'VStream_DB'
     if config.plugins.iptvplayer.tsi_resolver.value=='tsiplayer':
         self.ts_up = ts_urlparser()
     else:
         self.ts_up = urlparser()
     
     if not os.path.exists(self.MyPath + 'tmdb'):
         os.makedirs(self.MyPath + 'tmdb')
     files = glob.glob(self.MyPath + 'tmdb/*')
     for f in files:
         os.remove(f)   
Example #28
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {})
     self.MAIN_URL = 'https://shahed4u.land'
Example #29
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': 'cimanow.cookie'})
     self.MAIN_URL = 'https://w.cimanow.cc'
Example #30
0
 def __init__(self):
     TSCBaseHostClass.__init__(self, {'cookie': ''})
     self.MAIN_URL = 'https://w.dawsha-tv.com'