有没有办法让狂妄的instagram被搞定

2024-04-25 04:33:14 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图用python和selenium编写一个自动程序来创建Instagram自动帐户。我添加了所有的安全选项,甚至Instagram都阻止我创建新帐户。在

我什么都试过了。清理cookies,catch,匿名模式,代理,禁用位置,使用假标题,最后我尝试了一个新的互联网连接(我的智能手机热点)。但Instagram还是阻止了我。如何修改代码以防止Instagram me被检测为我?在

InstaAction类只调用存储。清除()

class MyInstaAction(webdriver.Chrome):
    def __init__(self, *args, **kwargs):
        super().__init__('chromedriver.exe', *args, **kwargs)

    def root(self):
        self.get(mpaths.root)

    def create_account(self, user):
        self.get(mpaths.register)
        self.execute_script('localStorage.clear();')

        # Finding elements and doing other stuff

“主”安全设置

^{pr2}$

有谁能绕过这个问题吗?在

Error Message


Tags: self程序getinitdef选项seleniumargs