尝试使用 Instaloader 登录 Instagram,
L = ig.Instaloader()
L.login(user, password)
L.two_factor_login(11111)
引发以下错误
raise TwoFactorAuthRequiredException("Login error: two-factor authentication required.")
instaloader.exceptions.TwoFactorAuthRequiredException: Login error: two-factor authentication required.