我在网上找到了一些可能的答案,但似乎没有一个有效。有人知道出了什么问题吗
守则:
""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run
from instapy import set_workspace
username='test'
password='test'
excluders = ["friend1", "friend2", "friend3"]
# get an InstaPy session!
session = InstaPy(username=username,
password=password,
headless_browser=True,
geckodriver_path='/usr/local/Cellar/geckodriver/0.27.0/bin/geckodriver')
with smart_run(session):
session.set_dont_include(excluders)
session.set_do_follow(enabled=True, times=1)
session.follow_user_followers(['account1', 'account2', 'account3'], amount=10, randomize=False, sleep_delay=60)
错误消息
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
我正在使用mac、Python3.7&;instapy 0.6.10
我安装了firefox,然后它就工作了
相关问题 更多 >
编程相关推荐