GithubHelp home page GithubHelp logo

Login Not Working about myigbot HOT 16 CLOSED

b31ngd3v avatar b31ngd3v commented on May 26, 2024
Login Not Working

from myigbot.

Comments (16)

b31ngd3v avatar b31ngd3v commented on May 26, 2024 1

My cookie jar is returning empty so I assume that's where the error is coming from I tried switching the link to both urls and it isn't working

You can try proxy, residential proxies are better for this type of work.

from myigbot.

b31ngd3v avatar b31ngd3v commented on May 26, 2024

Are you working on vps ?

from myigbot.

trashmit avatar trashmit commented on May 26, 2024

Nope, no reason for it to confirm or something

from myigbot.

b31ngd3v avatar b31ngd3v commented on May 26, 2024

This bug is already fixed by @animemoeus If you use this repo instade of the module you'll not face the issue. I'll add the fix on the next update of the module. Thank you 😊

from myigbot.

trashmit avatar trashmit commented on May 26, 2024

Nope, that's not working either i'm not getting any cookies at all maybe its cause im on a mac and the user agent isn't sent in the first response?

from myigbot.

trashmit avatar trashmit commented on May 26, 2024

the first request *

from myigbot.

b31ngd3v avatar b31ngd3v commented on May 26, 2024

@trashmit My client is using the same module on his Mac, he has no issues. So the os doesn't matter in this case.

from myigbot.

devtobi avatar devtobi commented on May 26, 2024

For me its not working either, also not with @animemoeus fork. Using Big Sur 11.0.1 with Python 3.9.0.

from myigbot.

b31ngd3v avatar b31ngd3v commented on May 26, 2024

Hey @devtobi are you facing the same issue ?

KeyError: "name='csrftoken', domain=None, path=None"

from myigbot.

animemoeus avatar animemoeus commented on May 26, 2024

KeyError: "name='csrftoken', domain=None, path=None"

just tried to login and this error came up

from myigbot import MyIGBot

bot = MyIGBot('xxx', 'xxx')

I have faced the same issue and after change link = 'https://www.instagram.com/accounts/login/' to link = 'https://www.instagram.com/' it's working for me.

You can try to use the default link (link = 'https://www.instagram.com/accounts/login/') if my solution doesn't work.

from myigbot.

devtobi avatar devtobi commented on May 26, 2024

Hey @devtobi are you facing the same issue ?

KeyError: "name='csrftoken', domain=None, path=None"

Yes its exactly the same issue.

from myigbot.

trashmit avatar trashmit commented on May 26, 2024

My cookie jar is returning empty so I assume that's where the error is coming from I tried switching the link to both urls and it isn't working

from myigbot.

animemoeus avatar animemoeus commented on May 26, 2024

My cookie jar is returning empty so I assume that's where the error is coming from I tried switching the link to both urls and it isn't working

In my experience, the cookie_jar csrftoken error occurs because I use the bot too often. When I try again with another IP then it works again.

from myigbot.

animemoeus avatar animemoeus commented on May 26, 2024

My cookie jar is returning empty so I assume that's where the error is coming from I tried switching the link to both urls and it isn't working

You can try proxy, residential proxies are better for this type of work.

Yes, since I use cron jobs to run the bot every hour, I use the proxy feature.

Before using a proxy, I often get the cookie_jar csrftoken error when the bot is running for hours.

from myigbot.

trashmit avatar trashmit commented on May 26, 2024

I got a temporary fix to the problem by setting the csrf token in the first response manually to a random string, it works for now but shouldn't be a permanent fix

from myigbot.

b31ngd3v avatar b31ngd3v commented on May 26, 2024

@trashmit @devtobi Just Fixed The Login Issue

from myigbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.