Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
isPique authored Nov 13, 2023
1 parent 7d602c7 commit f5c8291
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# INSTALLATION

```py
```console
pip install -r requirements.txt
```

Expand Down Expand Up @@ -48,7 +48,7 @@ pip install -r requirements.txt

* Additionally, when you run the script, it saves your cookies to a text file named `cookies.txt`. This means you won't need to use your credentials in subsequent runs. The script logs in with the cookie file in second and subsequent executions.

<hr>
#

* If you're using the firefox browser, you can use the code below to get the `cookies.txt` file.

Expand Down Expand Up @@ -106,4 +106,12 @@ if __name__ == "__main__":
import_session(args.cookiefile or get_cookiefile(), args.sessionfile)
except (ConnectionException, OperationalError) as e:
raise SystemExit("Cookie import failed: {}".format(e))
```
```

* Example usage:
```console
python whatever_you_named_your_file.py --sessionfile "path\to\your\Instaloader Scripts\cookies.txt"
```
# Donations Accepted:

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ispique)

0 comments on commit f5c8291

Please sign in to comment.