Just did a bit of testing with the wip branch (sorry, couldn't wait).. I got an error with continueReq():
Error: continueReq only allowed for paged requests
I just fed the continuation object returned by ytpl to continueReq(), like the example in the Readme.
Looking at the line that throws this error:
if (!isNaN(args[3].limit)) throw new Error('continueReq only allowed for paged requests');
But then, args[3].limit (i.e. opts.limit) is always Infinity when continuation is returned. That means !isNaN(args[3].limit) will always be true (hence the error)?
I haven't tested ytsr yet, but glancing at the code I suppose it's going to be the same ;) ?
Hello,
Just did a bit of testing with the wip branch (sorry, couldn't wait).. I got an error with
continueReq()
:I just fed the
continuation
object returned by ytpl tocontinueReq()
, like the example in the Readme.Looking at the line that throws this error:
But then,
args[3].limit
(i.e.opts.limit
) is always Infinity whencontinuation
is returned. That means!isNaN(args[3].limit)
will always be true (hence the error)?I haven't tested ytsr yet, but glancing at the code I suppose it's going to be the same ;) ?
Thanks, Patrick