diff --git a/TikTokApi/tiktok.py b/TikTokApi/tiktok.py index 114beda8..77f6cf15 100644 --- a/TikTokApi/tiktok.py +++ b/TikTokApi/tiktok.py @@ -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", diff --git a/setup.py b/setup.py index 75d017ee..cd127137 100644 --- a/setup.py +++ b/setup.py @@ -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",