From afa84d06691de67d46a78f6f62aedf0670cb0c9f Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Sun, 6 Oct 2019 12:12:40 +0000 Subject: [PATCH] In response to issue #70 Adding a link to cookie generation example script to README so it's easier to find how to write the generated cookie to disk. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e7469ce..35ce49b 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ instapy --help #### Hints ##### Cookie You can avoid to re-login, by using a cookie that instapy-cli generate for you. +Cookie can be generated and saved to file system using the following example: [login-cookie-write-file.py +](examples/login-cookie-write-file.py) By default instapy-cli use the cookie created in current working directory with the name 'USERNAME_ig.json'. If you don't want to store the cookie in your filesystem you need to pass the parameter `cookie`: