935 B
935 B
English · Dansk · Bahasa Malaysia
Step 1 - Credentials
The assignment starts with an account. We use the Share-a-Naan mock instead of the real Instagram, so a changed page or a ban cannot hurt. The profile page of the mock shows the login (the email is the username) and the target accounts to choose SIMILAR_ACCOUNT from.
What we gained
- A safe place to practise: a mock service lets us get the logic right before any real account is at risk.
- Secrets stay out of the code: the password is read from the environment variables
INSTA_USERNAMEandINSTA_PASSWORD, and.envis in.gitignore. - Constants live in one file,
constants.py:SIMILAR_ACCOUNT,BASE_URLandLOGIN_URL.
