代码的问题是代码只为 i=0 运行一次。它不会为下一个索引重复。为什么?
list1=['shukla928','kavita_patel7']
list2=['7379561059','kavitapatel9ptl']
for i in range(0,1):
session=InstaPy(username=list1[i],password=list2[i],headless_browser=True)
session.login()
session.set_relationship_bounds(enabled=True, max_followers=500)
session.set_do_follow(enabled=True, percentage=100, times=2)
session.follow_by_list(followlist=['pankaj_patel63'], times=2, sleep_delay=60, interact=False)
# session.end()```