Skip to content

Commit

Permalink
bypass csp
Browse files Browse the repository at this point in the history
  • Loading branch information
MuffinFox committed Sep 21, 2021
1 parent d25dad5 commit 23bc67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TikTokApi/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def sign_url(self, **kwargs):
if url is None:
raise Exception("sign_url required a url parameter")
context = self.create_context()
page = context.new_page()
page = context.new_page(bypass_csp=True)

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

Expand Down

0 comments on commit 23bc67d

Please sign in to comment.