Skip to content

Commit

Permalink
Merge pull request #1 from Xpl0itU/patch-1
Browse files Browse the repository at this point in the history
Restart browser on error
  • Loading branch information
MRColorR authored Apr 8, 2024
2 parents 3417604 + 53e5a67 commit ecfbb76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def run():
except Exception as e:
logging.error(f'An error occurred: {e}')
driver.quit()
time.sleep(60)
run()

while True:
try:
Expand Down

0 comments on commit ecfbb76

Please sign in to comment.