dobizz / TikTok

Download public videos on TikTok using Python with Selenium
MIT License
48 stars 24 forks source link

Installed correctly, Throws an error with any 83 version available. #3

Closed ind3p3nd3nt closed 4 years ago

ind3p3nd3nt commented 4 years ago

I've installed with pip3 install -r requirements.txt then independent@kali:~/TikTok$ python3 run.py -=[ TikTok Public Video Scraper ]=-

0 - Scrape by Trending Videos 1 - Scrape by Username 2 - Scrape by Music [WIP] 3 - Scrape by Hashtag [WIP]

Enter choice [0-3]: 1 Enter username to scrape: mollyeskam

How many vidoes would you like to scrape [-1 for all possible]: -1 User-Agent: Naverbot IP Address: 74.12.213.95 Traceback (most recent call last): File "run.py", line 215, in loop.run_until_complete(scrape(mode, username=username, count=count, likes=likes, views=views, shares=shares, comments=comments)) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "run.py", line 74, in scrape tt = TikTok(proxify=False) File "/home/independent/TikTok/api.py", line 65, in init self.driver = webdriver.Chrome(self.driver_path, options=self.chrome_options) File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in init RemoteWebDriver.init( File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init self.start_session(capabilities, browser_profile) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute self.error_handler.check_response(response) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83

Exception ignored in: <function TikTok.del at 0x7fa737fa2a60> Traceback (most recent call last): File "/home/independent/TikTok/api.py", line 88, in del AttributeError: 'TikTok' object has no attribute 'driver'

ind3p3nd3nt commented 4 years ago

Sorry double post