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

pyppeteer.errors.BrowserError: Browser closed unexpectedly #106

Closed
tarkhil opened this issue May 27, 2020 · 1 comment
Closed

pyppeteer.errors.BrowserError: Browser closed unexpectedly #106

tarkhil opened this issue May 27, 2020 · 1 comment

Comments

@tarkhil
Copy link

tarkhil commented May 27, 2020

Every example script yields an error

Traceback (most recent call last):
File "test1.py", line 7, in
tiktoks = api.byUsername('americanredcross', count=count)
File "/usr/local/lib/python3.6/dist-packages/TikTokApi/tiktok.py", line 125, in byUsername
data = self.getUserObject(username)
File "/usr/local/lib/python3.6/dist-packages/TikTokApi/tiktok.py", line 238, in getUserObject
b = browser(api_url)
File "/usr/local/lib/python3.6/dist-packages/TikTokApi/browser.py", line 27, in init
asyncio.get_event_loop().run_until_complete(self.start())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/dist-packages/TikTokApi/browser.py", line 30, in start
self.browser = await pyppeteer.launch(self.options)
File "/usr/local/lib/python3.6/dist-packages/pyppeteer/launcher.py", line 305, in launch
return await Launcher(options, **kwargs).launch()
File "/usr/local/lib/python3.6/dist-packages/pyppeteer/launcher.py", line 166, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/usr/local/lib/python3.6/dist-packages/pyppeteer/launcher.py", line 225, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:

Ubuntu 18.04.4 LTS

@davidteather
Copy link
Owner

#95

@davidteather davidteather changed the title TikTok-Api does not work at all pyppeteer.errors.BrowserError: Browser closed unexpectedly May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants