mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Fix excessive page while fetching channels.
Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
parent
8be65cc04f
commit
4eff318722
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue