lua: art: google: update

This commit is contained in:
Francois Cartegnie 2014-05-21 18:35:19 +02:00
parent 4553ce6dac
commit 6a1fd4fbc9

View File

@ -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