Closed crella6 closed 2 years ago
对的这个确实一直存在。最好解决方式就是看看nga开源版那个是怎么判断最大页数的
以tid=29105694帖子为例 页数为 ROWS/R__ROWS_PAGE 78/20=3.9 往大取整就是4页
"this_visit_rows": 78
},
"__F": {
"name": "生活万象"
},
"__R__ROWS": 20,
"__R__ROWS_PAGE": 20,
"__ROWS": 78,
"__PAGE": 1
},
"encode": "GBK",
"time": 1636113482
}
tid=20363301,页码=416,当本页的最后一楼的内容被吞掉的时候,恒有int(tdict['replies']) > totalfloor[len(totalfloor)-1][0],然后程序会不断增加页码