diff --git a/netflix.py b/netflix.py index 8fb54f8..d382673 100644 --- a/netflix.py +++ b/netflix.py @@ -1217,6 +1217,8 @@ def run(self): files=[f'logs/{Netflix.now("%Y-%m-%d")}.log', self.error_page_screenshot()]) + break + num += 1 except Exception as e: logger.error('出错:{}', str(e))