[A-Za-z-]+)\))?'
action = 'check'
return locals()
def newest(categoria):
support.log()
itemlist = []
item = support.Item()
try:
if categoria == "anime":
item.url = host + '/fetch_pages.php?request=episodes'
item.args = "updated"
return peliculas(item)
# Continua la ricerca in caso di errore
except:
import sys
for line in sys.exc_info():
support.logger.error("{0}".format(line))
return []
return itemlist
@support.scrape
def menu(item):
patronMenu = r'(?P
[^"<]+)<(?P.*?)(?:"lista-top"|"clearfix")'
action = 'peliculas'
item.args = 'top'
return locals()
@support.scrape
def peliculas(item):
anime = True
deflang= 'Sub-ITA'
action = 'check'
page = None
post = "page=" + str(item.page if item.page else 1) if item.page > 1 else None
if item.args == 'top':
data=item.url
patron = r'light">(?P[^<]+)\s(?P[^<]+)[^>]+>[^>]+>\s(?:]+>|\s*)
').match
patron = r'\d+)\))?(?:\s*\((?P[A-Za-z-]+)\))?">
]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>\s\s*(?P[^\s]+)\s*(?P\d+)'
typeContentDict = {'Movie':'movie', 'Episodio':'episode'} #item.contentType='episode'
action = 'findvideos'
def itemlistHook(itemlist):
if page:
itemlist.append(
support.Item(channel=item.channel,
action = item.action,
contentType=item.contentType,
title=support.typo(support.config.get_localized_string(30992), 'color kod bold'),
url=item.url,
page= page,
args=item.args,
thumbnail=support.thumb()))
return itemlist
else:
pagination = ''
if item.args == 'incorso':
patron = r']+>(?P[^<(]+)(?:\s*\((?P\d+)\))?(?:\s*\((?P[A-za-z-]+)\))?[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>\s*
]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P[^<]+)<'
else:
patron = r'href="(?P[^"]+)"[^>]+>[^>]+>(?P.+?)(?:\((?PITA)\))?(?:(?P\((\d+)\)))?