# -*- coding: utf-8 -*- # ------------------------------------------------------------ # Canale per animeworld # thanks to fatshotty # ---------------------------------------------------------- from core import support, jsontools from platformcode import config from lib import js2py host = support.config.get_channel_url() headers = {} __channel__ = 'animeworld' def order(): # Seleziona l'ordinamento dei risultati return str(support.config.get_setting("order", __channel__)) # def get_data(item, head=[]): # global headers # jstr = '' # for h in head: # headers[h[0]] = h[1] # if not item.count: item.count = 0 # if not config.get_setting('key', item.channel): # matches = support.match(item, patron=r'