Fix Videoteca in caso di cambio dominio
This commit is contained in:
@@ -476,6 +476,9 @@ 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
|
||||||
|
except ImportError: from urlparse import urlsplit
|
||||||
|
item_json.url = channel.host + urlsplit(item_json.url).path
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# FILTERTOOLS
|
# FILTERTOOLS
|
||||||
|
|||||||
Reference in New Issue
Block a user