Skip to content

Commit

Permalink
Merge pull request #20 from fa0311/develop
Browse files Browse the repository at this point in the history
v0.0.14
  • Loading branch information
fa0311 committed Feb 6, 2024
2 parents ce0b711 + 3cd12fa commit c4a942d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion twitter_openapi_python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "twitter_openapi_python"
version = "0.0.13"
version = "0.0.14"
description = "Twitter OpenAPI"
authors = ["fa0311 <[email protected]>"]
license = "proprietary" # or "AGPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion twitter_openapi_python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import find_packages, setup

NAME = "twitter_openapi_python"
VERSION = "0.0.13"
VERSION = "0.0.14"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"twitter_openapi_python_generated == 0.0.9",
Expand Down
4 changes: 2 additions & 2 deletions twitter_openapi_python/twitter_openapi_python/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def get_twitter_openapi_python_client(
api: twitter.ApiClient,
) -> TwitterOpenapiPythonClient:
http = urllib3.PoolManager()
flag = http.request("GET", self.placeholder_url.format(hash=self.hash)).json()
return TwitterOpenapiPythonClient(api, flag)
flag = http.request("GET", self.placeholder_url.format(hash=self.hash))
return TwitterOpenapiPythonClient(api, json.loads(flag.data))

def get_client_from_cookies(
self,
Expand Down

0 comments on commit c4a942d

Please sign in to comment.