Skip to content

Commit

Permalink
merged; updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrewr committed May 10, 2015
2 parents 29b9e5f + 37d0bb4 commit 420e451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can specify results in a certain timeframe. Working values listed below:
```js
var google = require('google')

// assign one of the values below. Defaults to google.resultsTimeFrame = 'y' for past year results
// assign one of the values below
google.resultsTimeFrame = 'h' // information indexed in the past hour
google.resultsTimeFrame = 'd' // information indexed in the past day
google.resultsTimeFrame = 'w' // information indexed in the past week
Expand Down
1 change: 1 addition & 0 deletions lib/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var igoogle = function (query, start, callback) {
}

var newUrl = util.format(URL, google.tld, google.lang, querystring.escape(query), start, google.resultsPerPage)

var requestOptions = {
url: newUrl,
method: 'GET'
Expand Down

0 comments on commit 420e451

Please sign in to comment.