animeunity fix categorie
This commit is contained in:
@@ -25,9 +25,9 @@ def mainlist(item):
|
|||||||
menu = [('Anime {bullet bold}',['', 'menu', {}, 'tvshow']),
|
menu = [('Anime {bullet bold}',['', 'menu', {}, 'tvshow']),
|
||||||
('Film {submenu}',['', 'menu', {'type': 'Movie'}]),
|
('Film {submenu}',['', 'menu', {'type': 'Movie'}]),
|
||||||
('TV {submenu}',['', 'menu', {'type': 'TV'}, 'tvshow']),
|
('TV {submenu}',['', 'menu', {'type': 'TV'}, 'tvshow']),
|
||||||
('OVA {submenu} {tv}',['', 'menu', ['type','OVA'], 'tvshow']),
|
('OVA {submenu} {tv}',['', 'menu', {'type': 'OVA'}, 'tvshow']),
|
||||||
('ONA {submenu} {tv}',['', 'menu', ['type','ONA'], 'tvshow']),
|
('ONA {submenu} {tv}',['', 'menu', {'type': 'ONA'}, 'tvshow']),
|
||||||
('Special {submenu} {tv}',['', 'menu', ['type','Special'], 'tvshow'])]
|
('Special {submenu} {tv}',['', 'menu', {'type': 'Special'}, 'tvshow'])]
|
||||||
search =''
|
search =''
|
||||||
return locals()
|
return locals()
|
||||||
|
|
||||||
@@ -52,13 +52,14 @@ def menu(item):
|
|||||||
|
|
||||||
def genres(item):
|
def genres(item):
|
||||||
support.log()
|
support.log()
|
||||||
|
# support.dbg()
|
||||||
itemlist = []
|
itemlist = []
|
||||||
|
|
||||||
genres = json.loads(support.match(response.text, patron='genres="([^"]+)').match.replace('"','"'))
|
genres = json.loads(support.match(response.text, patron='genres="([^"]+)').match.replace('"','"'))
|
||||||
|
|
||||||
for genre in genres:
|
for genre in genres:
|
||||||
item.args['genres'] = [genre]
|
item.args['genres'] = [genre]
|
||||||
itemlist.append(item.clone(title=support.typo(genre,'bold'), action='peliculas'))
|
itemlist.append(item.clone(title=support.typo(genre['name'],'bold'), action='peliculas'))
|
||||||
return support.thumb(itemlist)
|
return support.thumb(itemlist)
|
||||||
|
|
||||||
def years(item):
|
def years(item):
|
||||||
|
|||||||
Reference in New Issue
Block a user