From eba9539ceb5d8c5875a00af095cd78c85d0bd170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20van=20den=20Hoek?= Date: Sat, 11 Oct 2025 23:16:21 +0200 Subject: [PATCH 1/3] fix #47 (Couldn't get KEY_BYTE indices) --- twitter_openapi_python/twitter_openapi_python/tid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter_openapi_python/twitter_openapi_python/tid.py b/twitter_openapi_python/twitter_openapi_python/tid.py index 217c699..668f07e 100644 --- a/twitter_openapi_python/twitter_openapi_python/tid.py +++ b/twitter_openapi_python/twitter_openapi_python/tid.py @@ -12,6 +12,6 @@ def get_tid(): home_page_response = bs4.BeautifulSoup(home_page.content, "html.parser") ondemand_file_url = get_ondemand_file_url(response=home_page_response) ondemand_file = session.get(url=ondemand_file_url) # type: ignore - ondemand_file_response = bs4.BeautifulSoup(ondemand_file.content, "html.parser") + ondemand_file_response = ondemand_file.text ct = ClientTransaction(home_page_response=home_page_response, ondemand_file_response=ondemand_file_response) return ct From 86bcc15226989460cf5098f123ff3b3051d6b31b Mon Sep 17 00:00:00 2001 From: fa0311 Date: Mon, 13 Oct 2025 03:12:50 +0900 Subject: [PATCH 2/3] update version --- twitter_openapi_python/requirements.txt | Bin 274 -> 274 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/twitter_openapi_python/requirements.txt b/twitter_openapi_python/requirements.txt index 1a889a343cbfc0e9a986c945e0650f5fea107a6b..4217fabab53f8252c4f605f9c62bf994b22f31cf 100644 GIT binary patch delta 11 ScmbQlG>K`#BSyoCkM#i=LK`#BSwRXkM#i=Km>09 From 12b3e3f51c72caee9d0f2409890b0124a806c137 Mon Sep 17 00:00:00 2001 From: fa0311 Date: Mon, 13 Oct 2025 03:49:01 +0900 Subject: [PATCH 3/3] update 0.0.42 --- twitter_openapi_python/pyproject.toml | 2 +- twitter_openapi_python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/twitter_openapi_python/pyproject.toml b/twitter_openapi_python/pyproject.toml index dfda360..361fbe3 100644 --- a/twitter_openapi_python/pyproject.toml +++ b/twitter_openapi_python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "twitter_openapi_python" -version = "0.0.41" +version = "0.0.42" description = "Twitter OpenAPI" authors = ["fa0311 "] license = "proprietary" # or "AGPL-3.0-only" diff --git a/twitter_openapi_python/setup.py b/twitter_openapi_python/setup.py index f14fa0d..83b489b 100644 --- a/twitter_openapi_python/setup.py +++ b/twitter_openapi_python/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup NAME = "twitter_openapi_python" -VERSION = "0.0.41" +VERSION = "0.0.42" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "twitter_openapi_python_generated == 0.0.33",