mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 21:07:50 +08:00
添加判断
This commit is contained in:
@@ -73,6 +73,8 @@ class GithubAPI(Search):
|
||||
logger.log('ERROR', e.args)
|
||||
break
|
||||
total_count = resp_json.get('total_count')
|
||||
if not isinstance(total_count, int):
|
||||
break
|
||||
if page * 100 > total_count:
|
||||
break
|
||||
if page * 100 > 1000:
|
||||
|
||||
Reference in New Issue
Block a user