diff --git a/sites/dsmart.com.tr/dsmart.com.tr.config.js b/sites/dsmart.com.tr/dsmart.com.tr.config.js index 21197032..4a188b62 100644 --- a/sites/dsmart.com.tr/dsmart.com.tr.config.js +++ b/sites/dsmart.com.tr/dsmart.com.tr.config.js @@ -107,7 +107,7 @@ module.exports = { await doFetch(queues, (url, res) => { if (!pages && res.data.total) { pages = Math.ceil(res.data.total / pageLimit) - while (page <= pages) { + while (page < pages) { queues.push(f(++page)) } }