diff --git a/lib/prefetcher.js b/lib/prefetcher.js index a89bbab..4b2f7ce 100644 --- a/lib/prefetcher.js +++ b/lib/prefetcher.js @@ -43,6 +43,8 @@ module.exports = class Prefetcher { this.missing++ } + if (end >= this.endBound) end = this.endBound + this.start = start this.end = end this.range = this.core.download({