Error logging into instagram with python
问题 I am trying to log into my instagram via a python script using argparse. It seems to connect but it prints out " This page could not be loaded. If you have cookies disabled in your browser, oryou are browsing in Private Mode, please try enabling cookies or turning off Private Mode, and then retrying your action. " Here's my code: import argparse import mechanicalsoup from bs4 import BeautifulSoup parser = argparse.ArgumentParser(description='Login to Instagram.') parser.add_argument("username