-
-
Notifications
You must be signed in to change notification settings - Fork 991
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
downloadTikTok.py example #94
Comments
Since I think you're using a virtual environment on ubuntu you should run the following
More info #95 |
I did install chromium-chromedriver globally and I have the same problem. |
Does it work when you run the script as sudo? |
Running sudo python3 downloadTikTok.py results: |
Closing because I’m unable to replicate. If you want a setup guide for Ubuntu you can check out the Travis.yml in the root of this GitHub which if you run the prescript section commands you should have a working Ubuntu version. |
Same issue.
|
I have a provlem when running example downloadTikTok.py
I get an error:
Traceback (most recent call last): File "downloadTikTok.py", line 6, in <module> tiktokData = api.get_Video_By_Url("https://www.tiktok.com/@ceciliaannborne/video/6817602864228207878", return_bytes=1) File "/home/ubuntu/workspace/django-react/TikTokApi/TikTokApi/tiktok.py", line 276, in get_Video_By_Url driver = webdriver.Chrome() File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__ desired_capabilities=desired_capabilities) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Im working on Ubuntu 18.04
I have chrome installed version: 81.0.4044.138
I have chromedrvier installed: 81.0.4044.138
Did anyone maybe knows what is wrong?
The text was updated successfully, but these errors were encountered: