我有一个完全工作的 instagram 机器人,它是使用 instapy 制作的,它工作正常,我想向 instagram 添加一个代理,所以我添加了这段代码
session = InstaPy(username=insta_username,
password=insta_password,proxy_username='',proxy_password='',
proxy_address='8.8.8.8',
proxy_port=8080,
headless_browser=False)
with smart_run(session):
#code here
我正在使用高级代理,所以这肯定不是问题,我已阅读文档以添加此代码块,但我现在遇到此错误
Custom workspace set: "C://Users//Nikhil//Downloads//forthemodernhouses//forthemodernhouses/InstaPy" :]
to be targetted
already dmmed
['livs.cosy.home2019', 'aceservices2021', 'inmovidal', 'gsmwindowsltd', 'braithwaite_gateway', 'fangting_properties']
final to be dmmed
InstaPy Version: 0.6.13
._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C://Users//Nikhil//Downloads//forthemodernhouses//forthemodernhouses/InstaPy"
WARNING [2021-05-23 12:39:53] [forthemodernhouses] Proxy Authentication is not working anymore due to the Selenium bug report: https://github.com/SeleniumHQ/selenium/issues/7239
WARNING [2021-05-23 12:39:55] [forthemodernhouses] Unable to proxy authenticate
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2021-05-23 12:39:55] [forthemodernhouses] Session started!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
代理需要身份验证,所以我添加了代理用户名和密码,但是正如错误所说 selenioum 不支持它,那么有没有其他方法可以添加代理(不是手动),那么如何