From 10a4eb30919e16156ae22dd4dc5a9e13e390eac9 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 15 Jul 2023 16:53:48 +0100 Subject: [PATCH] Temporarily(?) remove guest token and V1 API methods --- twExtract/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/twExtract/__init__.py b/twExtract/__init__.py index 9801bbc..f72390d 100644 --- a/twExtract/__init__.py +++ b/twExtract/__init__.py @@ -161,7 +161,8 @@ def extractStatusV2Legacy(url): return tweet['legacy'] def extractStatus(url): - methods=[extractStatus_guestToken,extractStatus_syndication,extractStatus_token,extractStatusV2Legacy] + #methods=[extractStatus_guestToken,extractStatus_syndication,extractStatus_token,extractStatusV2Legacy] + methods=[extractStatus_syndication,extractStatusV2Legacy] for method in methods: try: return method(url)