Unsupported protocol err for addon.add_directory
#1
Question 
pastebin code
Line 224 doesn't show error. Here i'm parsing links and saving it to a dictionary (so that i can use common.cache on this function later)


Later on, i'm calling this function, reading the dict and doing add_directory (Line 365), but this throws the below error for img thumbnails.

Code:
14:42:20 T:2954457088 WARNING: CreateLoader - Unsupported protocol( http) in  http://abcmalayalam.com/media/k2/items/cache/e560da33616cac368c76fabbab4b731d_S.jpg

Any help ?
Reply
#2
looks like there is a space before http
Reply
#3
nice catch !
thanks.
Reply
#4
Just for bonus points, you can call .strip() on a string to strip any leading and trailing spaces
Reply

Logout Mark Read Team Forum Stats Members Help
Unsupported protocol err for addon.add_directory0