Re-implement txt functionality
This commit is contained in:
@ -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))
|
Reference in New Issue
Block a user