Commit 39c14a94 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

share/luameta/googleimage.lua: Resolve % escape in the arturl prior returning it.

parent ab4c936a
...@@ -19,5 +19,5 @@ function fetch_art() ...@@ -19,5 +19,5 @@ function fetch_art()
page = vlc.stream_read( fd, 65653 ) page = vlc.stream_read( fd, 65653 )
vlc.stream_delete( fd ) vlc.stream_delete( fd )
_, _, arturl = string.find( page, "imgurl=([^&]+)" ) _, _, arturl = string.find( page, "imgurl=([^&]+)" )
return arturl return vlc.decode_uri(arturl)
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment