【发布时间】:2020-08-03 18:34:20
【问题描述】:
我是第一次使用 InstagramAPI,当我尝试登录时收到以下响应:
Request return 400 error!
{'message': 'challenge_required', 'challenge': {'url': 'https://i.instagram.com/challenge/1721369303/mv7oIW3Hqh/', 'api_path': '/challenge/1721369303/mv7oIW3Hqh/', 'hide_webview_header': True, 'lock': True, 'logout': False, 'native_flow': True}, 'status': 'fail', 'error_type': 'checkpoint_challenge_required'}
这是我正在使用的代码:
class InstaBot:
def __init__(self):
self.api = InstagramAPI("my_username", "my_password")
bot = InstaBot()
我之前看到过 instagram api 出现问题的地方,并且很好奇这个 api 是否已经过时或者我没有做些什么
【问题讨论】:
标签: python web-scraping instagram-api