2016-05-11, 11:47
Quote:def GetContent(url,iconimage):
link=open_url(url)
match= re.compile('<link>(.+?)</link><thumbnail>(.+?)</thumbnail><title>(.+?)</title>').findall(link)
for url,iconimage,name in match:
if not 'http' in iconimage:iconimage=icon
if '############' in url:
addDir(name,url,1,iconimage,fanart)
if '/tube.txt/' in url:
addDir(name,url,35,iconimage,fanart)
else :
addLink(name,url,2,iconimage,fanart):
Im trying to find some reading regarding syntax errors in kodi / python, iv and error in the bottom three lines of that passage and i cant for the life of me figure it out..
Any pointers towards reading on this subject would be much appreciated, iv tried Google and iv searched the forums and cant find a thing, unless i'm missing something..
Regards Ian