Permalink
Browse files

Remove seach param for url

* Was overwriting the query string query
  • Loading branch information...
1 parent 8415b8f commit b765eeada561b26166e7a60617f6d65d9c25edbd @bdotdub bdotdub committed Jun 13, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/huntergatherer.js
View
@@ -45,6 +45,8 @@ exports.gather = function(userOptions, countCallback, dataCallback) {
//var url = 'http://openapi.etsy.com/v2/sandbox/private/listings/active?limit=100&offset='+i+'&keywords=owl&sort_on=created';
var queryString = url.parse(options.url, true);
+ delete queryString.search;
+
queryString.query[options.offsetKey] = i;
options.url = url.format(queryString);

0 comments on commit b765eea

Please sign in to comment.