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/requirements.txt b/twitter_openapi_python/requirements.txt index 1a889a3..4217fab 100644 Binary files a/twitter_openapi_python/requirements.txt and b/twitter_openapi_python/requirements.txt differ 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", 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