Re-implement txt functionality

This commit is contained in:
Dylan
2024-06-22 20:10:31 +01:00
parent ee5c93fe6d
commit 165ae08300
8 changed files with 124 additions and 20 deletions

View File

@ -3,10 +3,13 @@ import vx_testdata
tokens = ""
tokensList = tokens.split(",")
errorTokens = []
for token in tokensList:
try:
twExtract.extractStatusV2(vx_testdata.testNSFWTweet,workaroundTokens=[token])
except Exception as e:
print(str(e)+" "+token)
pass
errorTokens.append(token)
pass
print("Error tokens: "+str(errorTokens))