Kodi Community Forum

Full Version: tag url: urlencoding needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
i'll do even better! Big Grin

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

works in newish svn's Smile
Code:
<RegExp ...>
<expression encode="1">..</expression>
</RegExp>

this is good!! Nod

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