hcjohn463 / JableTVDownload

下載 jable好幫手
Apache License 2.0
676 stars 149 forks source link

最新版本报错TypeError: 'module' object is not callable #92

Open gitviewersgg opened 1 year ago

gitviewersgg commented 1 year ago

dr = webdriver.chrome() TypeError: 'module' object is not callable

hcjohn463 commented 1 year ago

'chrome' 的 'c' 改成大寫 'C' 試試

gitviewersgg commented 1 year ago

raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary Stacktrace:

16 chromedriver 0x000000010bf16a87 chromedriver + 4835975 17 chromedriver 0x000000010bf2600f chromedriver + 4898831 18 libsystem_pthread.dylib 0x00007ff810a65259 _pthread_start + 125 19 libsystem_pthread.dylib 0x00007ff810a60c7b thread_start + 15

gitviewersgg commented 1 year ago

还是报错,raise exception_class(message, screen, stacktrace)

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary Stacktrace:

16 chromedriver 0x000000010bf16a87 chromedriver + 4835975 17 chromedriver 0x000000010bf2600f chromedriver + 4898831 18 libsystem_pthread.dylib 0x00007ff810a65259 _pthread_start + 125 19 libsystem_pthread.dylib 0x00007ff810a60c7b thread_start + 15

On Mon, Apr 17, 2023 at 10:03 AM hcjohn463 @.***> wrote:

'chrome' 的 'c' 改成大寫 'C' 試試

— Reply to this email directly, view it on GitHub https://github.com/hcjohn463/JableTVDownload/issues/92#issuecomment-1510586080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUV4BJF7X6WDYU4X3HNSPMTXBSQGVANCNFSM6AAAAAAXAHNLQQ . You are receiving this because you authored the thread.Message ID: @.***>

hcjohn463 commented 1 year ago

已更新ReadMe。

gitviewersgg commented 1 year ago

Downloads/JableTVDownload-main/jable/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary Stacktrace: 0 chromedriver 0x000000010dddcae8 chromedriver + 4958952 已经下载chromedriver,但还是报错,是否有版本要求?

hcjohn463 commented 1 year ago

浏览器版本与对应的驱动版本匹配吗? 我电脑上Chrome版本是v112,所以下载的是版本112的驱动

gitviewersgg commented 1 year ago

/JableTVDownload-main/download.py", line 54, in download m3u8url = result[0] TypeError: 'NoneType' object is not subscriptable 更新了最新的code,还是报上面的错误,chrome版本也相同了

gitviewersgg commented 1 year ago

系统为mac 13.2.1

gitviewersgg commented 1 year ago

重新安装了一下环境,好了。