优化页码解析
This commit is contained in:
@@ -201,7 +201,7 @@ def parse_page_num(page_list):
|
|||||||
continue
|
continue
|
||||||
pages.append(min(numbers))
|
pages.append(min(numbers))
|
||||||
total.append(max(numbers))
|
total.append(max(numbers))
|
||||||
return pages, int(max(total))
|
return pages, int(max(total if total else ['1']))
|
||||||
|
|
||||||
|
|
||||||
def handle_tiny_int(num):
|
def handle_tiny_int(num):
|
||||||
|
|||||||
Reference in New Issue
Block a user