def getConstants(self): self.itemProperty = 'plugin.video.flixnet.container.items' self.metaProperty = 'plugin.video.flixnet.container.meta' from resources.lib.sources import sources as sources from resources.lib.sources_de import sources as sources_de from resources.lib.sources_fr import sources as sources_fr from resources.lib.sources_pt import sources as sources_pt from resources.lib.sources_pl import sources as sources_pl from resources.lib.sources_ko import sources as sources_ko self.sourceDict = sources() + sources_de() + sources_fr() + sources_pt() + sources_pl() + sources_ko() try: self.hostDict = urlresolver.relevant_resolvers(order_matters=True) self.hostDict = [i.domains for i in self.hostDict if not '*' in i.domains] self.hostDict = [i.lower() for i in reduce(lambda x, y: x+y, self.hostDict)] self.hostDict = [x for y,x in enumerate(self.hostDict) if x not in self.hostDict[:y]] except: self.hostDict = [] self.hostprDict = ['1fichier.com', 'oboom.com', 'rapidgator.net', 'rg.to', 'uploaded.net', 'uploaded.to', 'ul.to', 'filefactory.com', 'nitroflare.com', 'turbobit.net', 'uploadrocket.net'] self.hostcapDict = ['hugefiles.net', 'kingfiles.net', 'openload.io', 'openload.co', 'oload.tv', 'thevideo.me', 'vidup.me', 'streamin.to', 'torba.se'] self.hosthqDict = ['openload.io', 'openload.co', 'oload.tv', 'thevideo.me', 'rapidvideo.com', 'raptu.com', 'filez.tv'] self.hostblockDict = [] self.debridDict = debrid.debridDict()
def getConstants(self): self.itemProperty = 'plugin.video.exodus.container.items' self.metaProperty = 'plugin.video.exodus.container.meta' from resources.lib.sources import sources as sources from resources.lib.sources_de import sources as sources_de from resources.lib.sources_fr import sources as sources_fr from resources.lib.sources_pt import sources as sources_pt self.sourceDict = sources() + sources_de() + sources_fr() + sources_pt() try: self.hostDict = urlresolver.relevant_resolvers(order_matters=True) self.hostDict = [i.domains for i in self.hostDict if not '*' in i.domains] self.hostDict = [i.lower() for i in reduce(lambda x, y: x+y, self.hostDict)] self.hostDict = [x for y,x in enumerate(self.hostDict) if x not in self.hostDict[:y]] except: self.hostDict = [] self.hostprDict = ['1fichier.com', 'oboom.com', 'rapidgator.net', 'rg.to', 'uploaded.net', 'uploaded.to', 'ul.to', 'filefactory.com', 'nitroflare.com', 'turbobit.net', 'uploadrocket.net'] self.hostcapDict = ['hugefiles.net', 'kingfiles.net', 'openload.io', 'openload.co', 'oload.tv', 'thevideo.me', 'vidup.me', 'streamin.to', 'torba.se'] self.hosthqDict = ['openload.io', 'openload.co', 'oload.tv', 'thevideo.me'] self.hostblockDict = [] self.debridDict = debrid.debridDict()