Kodi Community Forum
tag url: urlencoding needed - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: tag url: urlencoding needed (/showthread.php?tid=58100)



tag url: urlencoding needed - muttley:bd - 2009-09-17

i don't know if this is a bug or there is some method that i don't know:

Code:
<RegExp input="$$8" output="<url function="GetImdbId">http://akas.imdb.com/find?s=tt;[b]q=State of Play (2009)[/b]</url>" dest="5+">

Code:
<RegExp input="$$8" output="<url function="GetImdbId">http://akas.imdb.com/find?s=tt;[b]q=&quot;State of Play (2009)&quot;[/b]</url>" dest="5+">

In both example the real url interrogated are:
Code:
http://akas.imdb.com/find?s=tt;[b]q=State[/b]

for work i must write:
Code:
<RegExp input="$$8" output="<url function="GetImdbId">http://akas.imdb.com/find?s=tt;q=State%20of%20Play%20(2009)</url>" dest="5+">

is there some special tag for <url> tag?

thank you in advance!

p.s. i use XBMC 9.04.1 r20654 (compiled: May 25)


solution - muttley:bd - 2009-09-17

ehm...i have found a solution Laugh

http://www.xbmc.org/forum/showpost.php?p=365425&postcount=4


- spiff - 2009-09-17

i'll do even better! Big Grin

<RegExp ...>
<expression encode="1">..</expression>
</RegExp>

works in newish svn's Smile


- muttley:bd - 2009-09-17

Code:
<RegExp ...>
<expression encode="1">..</expression>
</RegExp>

this is good!! Nod

but, don't work on my version...Sad