Skip to content

Commit c8bece9

Browse files
committed
Ask for rawcontinue to work around breaking API change
Change-Id: I2a7c1f4775bcdadd0d52c0591304fabdceff0db6
1 parent 6ac383c commit c8bece9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/htmldump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getArticles (options, res) {
3131

3232
var url = options.apiURL + '?action=query&generator=allpages'
3333
+ '&gaplimit=500&prop=revisions&gapnamespace='
34-
+ options.ns + '&format=json&gapcontinue=' + encodeURIComponent( next );
34+
+ options.ns + '&format=json&rawcontinue=1&gapcontinue=' + encodeURIComponent( next );
3535
//console.log(url);
3636

3737
return preq.get({

0 commit comments

Comments
 (0)