首页 > 解决方案 > 使用firefox instapy在windows中同时运行2个脚本

问题描述

如何同时运行两个脚本????

使用firefox在windows中同时运行2个脚本我只能同时运行1个脚本

错误 :

InstaPy Version: 0.6.13
 ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.  ._.
INFO [2021-10-09 16:52:14] [omid.farhan99]  Workspace in use: "C:/Users/ACER/InstaPy"
Traceback (most recent call last):
  File "C:\Users\ACER\Desktop\botinstagram\story2.py", line 16, in <module>
    sss = InstaPy(username= 'arzdigital.90' , password= 'orniasx9' , headless_browser=False)
  File "C:\Users\ACER\AppData\Local\Programs\Python\Python39\lib\site-packages\instapy\instapy.py", line 325, in __init__
    self.browser, err_msg = set_selenium_local_session(
  File "C:\Users\ACER\AppData\Local\Programs\Python\Python39\lib\site-packages\instapy\browser.py", line 131, in set_selenium_local_session
    browser.install_addon(create_firefox_extension(), temporary=True)
  File "C:\Users\ACER\AppData\Local\Programs\Python\Python39\lib\site-packages\instapy\browser.py", line 48, in create_firefox_extension
    with zipfile.ZipFile(zip_file, "w", zipfile.ZIP_DEFLATED, False) as zipf:
  File "C:\Users\ACER\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1239, in __init__
    self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: 'C:\\Users\\ACER\\InstaPy\\assets\\extension.xpi'

标签: workspaceinstapy

解决方案


推荐阅读