Commit 51bdefd4 authored by Cool Fire's avatar Cool Fire
Browse files

Typo

parent f5870990
Pipeline #25 passed with stage
in 23 seconds
......@@ -45,7 +45,7 @@ class Search
page = agent.get( "#{ @googleurl }#{ CGI::escape( arguments ) }" )
json = page.body
res = JSON.parse( json )
result = "#{ res[ 'results' ][ 0 ][ 'unesacpedUrl' ] } - #{ res[ 'results' ][ 0 ][ 'titleNoFormatting' ] }"
result = "#{ res[ 'results' ][ 0 ][ 'unescapedUrl' ] } - #{ res[ 'results' ][ 0 ][ 'titleNoFormatting' ] }"
if( result.empty? )
result = "Error: No result."
......
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