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