Fix Community Channels
This commit is contained in:
@@ -298,7 +298,7 @@ def episodios(item, json ='', key='', itemlist =[]):
|
||||
if 'episodes_list' in json:
|
||||
json = json['episodes_list']
|
||||
elif 'seasons_list' in json:
|
||||
item.url = json['episodes_list']
|
||||
item.url = json['seasons_list']
|
||||
return get_seasons(item)
|
||||
elif 'tvshows_list' in json:
|
||||
return peliculas(item, json, 'tvshows_list')
|
||||
|
||||
@@ -476,9 +476,11 @@ def findvideos(item):
|
||||
|
||||
item_json = Item().fromjson(filetools.read(json_path))
|
||||
list_servers = []
|
||||
|
||||
try: from urllib.parse import urlsplit
|
||||
except ImportError: from urlparse import urlsplit
|
||||
item_json.url = channel.host + urlsplit(item_json.url).path
|
||||
try: item_json.url = channel.host + urlsplit(item_json.url).path
|
||||
except: pass
|
||||
|
||||
try:
|
||||
# FILTERTOOLS
|
||||
|
||||
Reference in New Issue
Block a user