Error message

  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/drupal/includes/
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /var/www/drupal/includes/

Downloading first google image result

How to download an image from google:

def getimageurlfromgoogle(query)
response = Net::HTTP.get_response('',

The first result is not always the best result!!