   docFetcher = (msg) ->
     [user, doctype, version, query] = msg.match[1..4]
 
-    fetchResult getQueryUrl(doctype, version, query), (url) ->
+    fetchResult getQueryUrl(doctype, version, query), SEARCH_URL, (url) ->
       return msg.send "No results for \"#{query.substr(0,30)}\"" unless url
 
       response = url

      else
        "site:laravel.com/api/#{TARGET_VERSION} #{query}"
    else if doctype == 'lumen'
      "site:lumen.laravel.com/docs #{query}"
    else if doctype == 'php'
      "site:php.net/manual/en #{query}"
    else

cheerio   = require 'cheerio'
htmlStrip = require 'htmlstrip-native'

TARGET_VERSION = 5.2
SEARCH_URL = 'https://www.google.com/search'
USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36'
#Rommie=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1309.0 Safari/537.17
