# -*- coding: utf-8 -*- # ------------------------------------------------------------ # Canale per ilcorsaronero # ------------------------------------------------------------ from core import support # def findhost(url): # data = support.httptools.downloadpage(url).data # url = support.scrapertools.find_single_match(data, '
  • [^"<]+' else: patron = r'>(?P[^"<]+)' patron += ' ]+>(?P[^<]+)<[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<size>[^<]+)<[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<seed>[^<]+)' if 'search' not in item.args: item.url += str(item.args[0]) def itemlistHook(itemlist): args = item.args args[0] += 1 support.nextPage(itemlist, item, next_page=item.url, function_or_level="peliculas") # itemlist.append(item.clone(title=support.typo(support.config.get_localized_string(30992), 'color kod bold'), args=args, thumbnail=support.thumb())) return itemlist return locals() def search(item, text): support.info(item, text) if 'all' in item.args: item.url += text else: item.url += text + '.html' try: return peliculas(item) # Cattura la eccezione così non interrompe la ricerca globle se il canale si rompe! except: import sys for line in sys.exc_info(): support.logger.error("search except: %s" % line) return [] def findvideos(item): if item.contentType == 'tvshow': item.contentType = 'episode' Videolibrary = True if 'movie' in item.args else False return support.server(item, support.match(item.url, patron=r'"(magnet[^"]+)').match, Videolibrary=Videolibrary)