Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api Update: New endpoints using x-tt-params #699

Merged
merged 8 commits into from
Sep 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Default url
  • Loading branch information
MuffinFox committed Sep 21, 2021
commit d25dad5bed553b1dc9ff03c35d5422e78e7560c7
3 changes: 3 additions & 0 deletions TikTokApi/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ def sign_url(self, **kwargs):
raise Exception("sign_url required a url parameter")
context = self.create_context()
page = context.new_page()

page.goto(kwargs.get('default_url', 'https://www.tiktok.com/@redbull'), wait_until='load')

verifyFp = "".join(
random.choice(
string.ascii_lowercase + string.ascii_uppercase + string.digits
Expand Down