如何解决InstaPy /“图像太少,正在跳过此标签”
我基本上是使用InstPy模块构建一个Instagram机器人。当我尝试使它像来自特定标签的帖子,并遵循该帖子帐户的50%时,它将检查带有该标签的帖子,但显示“图像太少,跳过了此标签”。我该怎么办?
function confirmEnding(str,target) {
return str.slice(-1 * target.length) === target;
}
console.log(confirmEnding("Sebastian","ian"));
外壳
from instapy import InstaPy
session = InstaPy(username="<username>",password="<password>",headless_browser=True)
session.login()
session.like_by_tags(["modernwarfare","callofduty"])
session.set_do_follow(True,percentage=50)
session.end()
解决方法
我认为您已经被视为机器人。静置几个小时,然后更改您的帐户密码,然后重试。
,我通过稍微编辑代码解决了这个问题。我添加了session.set_quota_supervisor(enabled = True,peak_comments_daily = 240,peak_comments_hourly = 21)行,因此Instagram并未将我识别为机器人并阻止了我。
from instapy import InstaPy
session = InstaPy(username="username",password="password",headless_browser=True)
session.login()
session.set_quota_supervisor(enabled=True,peak_comments_daily=240,peak_comments_hourly=21)
session.like_by_tags(["modernwarfare","callofduty"])
session.set_do_follow(True,percentage=50)
session.end()
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。