I'm trying to use Instapy to login to Instagram, however I'm getting the following error.
"builtins.TypeError: WebDriver._init_() got an unexpected keyword argument 'firefox_profile'."
when I use the code below. I have installed the latest Firefox.
from instapy import InstaPy
from instapy import smart_run
# login credentials
insta_username = 'jaco.vz' # <- enter username here
insta_password = 'ZoeLoe12' # <- enter password here
# get an InstaPy session!
# set headless_browser=True to run InstaPy in the background
session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False)