Skip to content

Commit c4a942d

Browse files
authored
Merge pull request #20 from fa0311/develop
v0.0.14
2 parents ce0b711 + 3cd12fa commit c4a942d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

twitter_openapi_python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "twitter_openapi_python"
3-
version = "0.0.13"
3+
version = "0.0.14"
44
description = "Twitter OpenAPI"
55
authors = ["fa0311 <[email protected]>"]
66
license = "proprietary" # or "AGPL-3.0-only"

twitter_openapi_python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import find_packages, setup
44

55
NAME = "twitter_openapi_python"
6-
VERSION = "0.0.13"
6+
VERSION = "0.0.14"
77
PYTHON_REQUIRES = ">=3.7"
88
REQUIRES = [
99
"twitter_openapi_python_generated == 0.0.9",

twitter_openapi_python/twitter_openapi_python/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def get_twitter_openapi_python_client(
110110
api: twitter.ApiClient,
111111
) -> TwitterOpenapiPythonClient:
112112
http = urllib3.PoolManager()
113-
flag = http.request("GET", self.placeholder_url.format(hash=self.hash)).json()
114-
return TwitterOpenapiPythonClient(api, flag)
113+
flag = http.request("GET", self.placeholder_url.format(hash=self.hash))
114+
return TwitterOpenapiPythonClient(api, json.loads(flag.data))
115115

116116
def get_client_from_cookies(
117117
self,

0 commit comments

Comments
 (0)