try using auth tokens on scraper

This commit is contained in:
muskit
2024-03-17 23:50:17 -07:00
parent 95f654316b
commit c88ddc749a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ class Scraper:
try:
self.app.connect()
except:
self.app.sign_in(*acc)
self.app.load_auth_token(acc[1])
else:
self.app.sign_in(*acc)
self.app.load_auth_token(acc[1])
return True
print("exhausted all accounts!")
return False