Authentification failure / Authentification settings #1887
DieWebAgenten
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(instagrapi) (base) xxx@MacBook-Air-xxx examples % python3 download_all_medias.py
Enter username: xxx
How many posts to process (default: 5)? 5
Traceback (most recent call last):
File "/Users/xxx/Development/instagrapi/examples/download_all_medias.py", line 54, in
main(username, amount)
File "/Users/xxx/Development/instagrapi/examples/download_all_medias.py", line 15, in main
cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)
File "/Users/xxx/Development/instagrapi/instagrapi/lib/python3.12/site-packages/instagrapi/mixins/auth.py", line 403, in login
raise BadCredentials("Both username and password must be provided.")
instagrapi.exceptions.BadCredentials: Both username and password must be provided.
(instagrapi) (base) xxx@MacBook-Air-von-xxx examples % I am having troubles to authenticate when running python3 download_all_medias.py from the /examples folder. I checked the whole documentation several times but I couldn´t find any option where to add ig username and ig password except as command line arguments when running the script download_all_medias.py. Where to I need to set up the credentials such as ig username, ig password, eventually api key etc.?
Beta Was this translation helpful? Give feedback.
All reactions