Use new anonymous API endpoint
This commit is contained in:
1 parent
a099046784
commit
081dfa7680
2 files changed
+5
-1
No files matched your search
@@ -276,7 +276,7 @@ def extractStatusV2AnonLegacy(url,workaroundTokens):
|
||||
return tweet['legacy']
|
||||
|
||||
def extractStatus(url,workaroundTokens=None):
|
||||
methods=[extractStatus_syndication,extractStatusV2Legacy,extractStatus_twExtractProxy]
|
||||
methods=[extractStatusV2AnonLegacy,extractStatus_syndication,extractStatusV2Legacy,extractStatus_twExtractProxy]
|
||||
for method in methods:
|
||||
try:
|
||||
return method(url,workaroundTokens)
|
||||
|
||||
Reference in new issue
Block a user