Fix Community Relative Path
This commit is contained in:
@@ -57,7 +57,7 @@ def show_channels(item):
|
|||||||
|
|
||||||
for key, channel in json['channels'].items():
|
for key, channel in json['channels'].items():
|
||||||
# Find File Path
|
# Find File Path
|
||||||
if 'http' in channel['path']: file_path = requests.get(channel['path']).url
|
if 'http' in channel['path']: file_path = httptools.downloadpage(channel['path'],follow_redirects=True).url
|
||||||
else: file_path = channel['path']
|
else: file_path = channel['path']
|
||||||
|
|
||||||
# make relative path
|
# make relative path
|
||||||
|
|||||||
Reference in New Issue
Block a user