Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Adding requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximaz committed Jun 23, 2022
1 parent e8bf04e commit a2349b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ THe required headers are the thing Instagram looks at to tell if a request has t

``X-IG-App-ID`` and ``X-ASBD-ID`` : Their value are hard-coded in ``ConsumerLibCommons.js``. Regexes iare enough to get them.

# Setup
This is the step to follow in order to use this project :
```bash
git clone https://github.com/Ximaz/instagram-downloader
cd instagram-downloader
python3 -m pip install -r requirements.txt
```
Once done, you can edit the ``test.py`` to target someone and launch the script.

# Ratelimits
According to [Bibliogram Docs](https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instagram%20rate%20limits.md#specifics), the Instagram's GraphQL API has a ratelimit of 200 requests for 11 minutes, which makes around 17 requests per minute, so almost a request for 4 seconds. Find the maths below :

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
requests

0 comments on commit a2349b2

Please sign in to comment.