We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86ab7ca + 1579d5f commit aed4e8cCopy full SHA for aed4e8c
TikTokAPI/tiktok_browser.py
@@ -51,7 +51,7 @@ def __init__(self, user_agent):
51
self.tiktok_dummy_page = "file://" + os.path.join(parent_folder, "website", "tiktok.html")
52
53
def fetch_auth_params(self, url, language='en'):
54
- return asyncio.get_event_loop().run_until_complete(self.async_fetch_auth_params(url, language))
+ return asyncio.new_event_loop().run_until_complete(self.async_fetch_auth_params(url, language))
55
56
async def async_fetch_auth_params(self, url, language):
57
browser = await launch(self.options)
0 commit comments