From c04162286d18a8d5fb15574132195cf34654f730 Mon Sep 17 00:00:00 2001 From: bumbu Date: Thu, 28 Aug 2014 23:15:10 +0300 Subject: [PATCH] Use only one time parameter when quering multiple pages --- github.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github.js b/github.js index f3e504d2..bcf56a42 100644 --- a/github.js +++ b/github.js @@ -81,6 +81,9 @@ if (next) { next = (/<(.*)>/.exec(next) || [])[1]; + + // Extract time from next link. Time is represented as 13 digit number (until 2033) + next = next.replace(/\&\d{13}\=/gi, '').replace(/\&\d{13}/gi, '') } if (!next) {