Skip to content

Commit fa5969d

Browse files
committedJul 1, 2024
Upgraded SDK V1.11.6 Add Support for New Instagram API
1 parent 6042d7e commit fa5969d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎tikhub/client/client.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ def __init__(self,
6161
# API Client
6262
self.client = APIClient(
6363
base_url=self.base_url,
64-
client_headers={"Authorization": f"Bearer {self.api_key}"},
64+
client_headers={
65+
"User-Agent": "TikHub-API-SDK-Python/1.11.6",
66+
"Authorization": f"Bearer {self.api_key}"
67+
},
6568
proxies=proxies,
6669
max_retries=max_retries,
6770
max_connections=max_connections,

0 commit comments

Comments
 (0)
Please sign in to comment.