[vlc-commits] lua: art: google: update
Francois Cartegnie
git at videolan.org
Wed May 21 18:35:47 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 21 18:35:19 2014 +0200| [6a1fd4fbc9f84b00e51b50c2761478167d8c6399] | committer: Francois Cartegnie
lua: art: google: update
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a1fd4fbc9f84b00e51b50c2761478167d8c6399
---
share/lua/meta/art/01_googleimage.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/meta/art/01_googleimage.lua b/share/lua/meta/art/01_googleimage.lua
index 3608f50..00080ca 100644
--- a/share/lua/meta/art/01_googleimage.lua
+++ b/share/lua/meta/art/01_googleimage.lua
@@ -50,6 +50,6 @@ function fetch_art()
page = fd:read( 65653 )
fd = nil
- _, _, arturl = string.find( page, "imgurl=([^&]*)" )
+ _, _, _, arturl = string.find( page, "<img height=\"([0-9]+)\" src=\"([^\"]+gstatic.com[^\"]+)\"" )
return arturl
end
More information about the vlc-commits
mailing list