Skip to content

Commit

Permalink
Improved headers
Browse files Browse the repository at this point in the history
  • Loading branch information
davidteather committed Dec 10, 2020
1 parent 5f214f9 commit 09352b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions TikTokApi/tiktok.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ def getData(self, **kwargs) -> dict:
"accept": "application/json, text/plain, */*",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"dnt": "1",
"origin": referrer,
"pragma": 'no-cache',
"referer": referrer,
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setuptools.setup(
name="TikTokApi",
packages=["TikTokApi"],
version="3.8.5",
version="3.8.6",
license="MIT",
description="The Unofficial TikTok API Wrapper in Python 3.",
author="David Teather",
Expand Down

0 comments on commit 09352b9

Please sign in to comment.