Skip to content

Commit

Permalink
Patch Useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
davidteather committed Nov 10, 2020
1 parent 966bb9b commit 74ffae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions TikTokApi/tiktok.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(self, **kwargs):
self.proxy = kwargs.get("proxy", None)
if kwargs.get("persistent_browser", True):
self.browser = browser(**kwargs)
self.userAgent = self.browser.userAgent

try:
self.timezone_name = self.__format_new_params__(self.browser.timezone_name)
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.7.1",
version="3.7.2",
license="MIT",
description="The Unofficial TikTok API Wrapper in Python 3.",
author="David Teather",
Expand Down

0 comments on commit 74ffae3

Please sign in to comment.