diff --git a/channels/ilgeniodellostreaming.py b/channels/ilgeniodellostreaming.py index a10e37bb..223cb043 100644 --- a/channels/ilgeniodellostreaming.py +++ b/channels/ilgeniodellostreaming.py @@ -40,10 +40,18 @@ def newest(categoria): log(categoria) itemlist = [] item = Item() + try: - if categoria == "movie": item.url = host + '/film/' - elif categoria == "tvshow": item.url = host + '/serie/' - elif categoria == "anime": item.url = host + '/anime/' + if categoria == 'peliculas': + item.contentType = 'movie' + item.url = host + '/film/' + elif categoria == "series": + item.contentType = 'episode' + item.url = host + '/serie/' + elif categoria == "anime": + item.contentType = 'episode' + item.url = host + '/anime/' + item.action = "peliculas" itemlist = peliculas(item) @@ -126,10 +134,11 @@ def episodios(item): def findvideos(item): log() + itemlist =[] matches, data = support.match(item, '