dobizz / TikTok

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

from utils import download_chromedriver, has_chromedriver, Release #7

Open vassper opened 2 years ago

vassper commented 2 years ago

$ python run.py Traceback (most recent call last): File "run.py", line 11, in from utils import download_chromedriver, has_chromedriver, Release ImportError: cannot import name 'Release' from 'utils' (C:\Users\d\TikTok\utils.py)

OS: Windows 10 Python 3.7 Run in console: GitBash

iBlz commented 2 years ago

i have the same error

OVERPEY commented 2 years ago

to fix this replace "Release" from file run.py to "get_latest_release"

wheat009 commented 2 years ago

root@mmpp:~/TikTok# python3 run.py Traceback (most recent call last): File "run.py", line 190, in download_chromedriver(get_latest_release.AUTO_DETECT) AttributeError: 'function' object has no attribute 'AUTO_DETECT'

The above problems occurred after modification