Skip to content

Releases: ibnaleem/instatracker

v1.0.0

30 Jun 02:05
f2185c7
Compare
Choose a tag to compare

Release v1.0.0

Note

Binaries are auto-updated if the change was a syntax error. It may tell you that there are n commits since this release, but I can assure you that it has been promptly updated. I do not want to create tens of releases because of small syntax errors.

Summary:

This release marks the initial version of InstaTracker.

Installation

Download main.py, main.py.sig & requirements.txt

Install dependencies:

$ pip install -r requirements.txt

Import my PGP key

$ curl https://raw.githubusercontent.com/ibnaleem/ibnaleem/main/public_key.asc -o ibnaleem_key.asc
$ cat ibnaleem_key.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 2024 7EC0 23F2 769E 6618  1C0F 581B 4A2A 862B BADE
Comment: Ibn Aleem <[email protected]>

xsFNBGVPmXcBEACtGLnSoh+hgHvWrTU/aBvO0HO5QglML+jzDR5K9f6+Ck5Gzolt
...

$ gpg --import ibnaleem_key.asc

Verify main.py

$ gpg --verify main.py.sig main.py
gpg: Signature made Sun 30 Jun 03:59:52 2024 BST
gpg:                using RSA key 20247EC023F2769E66181C0F581B4A2A862BBADE
gpg: Good signature from "Ibn Aleem <[email protected]>" [ultimate]

If you are not receiving the output above, redownload main.py and main.py.sig and try again, or contact me at [email protected] (please encrypt and sign to my PGP key)

Run the script

$ python3 main.py -u USERNAME

Important

You must login to your Instagram account in order to properly scrape someone else's Instagram account. This is due to Instagram blocking HTTPS GET requests from unauthenticated cookies. Your login information is never stored. See more here and here.

Tip

You can always create/use an alt-account for the interative login.

Signed

v.1.0.1

30 Jun 20:05
914307f
Compare
Choose a tag to compare

Release v1.0.1

Note

Binaries are auto-updated if the change was a syntax error. It may tell you that there are n commits since this release, but I can assure you that it has been promptly updated. I do not want to create tens of releases because of small syntax errors.

Summary:

This release addresses the AbortDownloadException caused by Instagram redirecting logins after a specified time. To handle this issue, all users are now mandated to manually log in to their Instagram accounts via instaloader.Instaloader().login(user="USERNAME", passwd="PASSWORD"). This ensures stable and uninterrupted sessions for downloading content.

Installation

Download main.py, main.py.sig & requirements.txt

Install dependencies:

$ pip install -r requirements.txt

Import my PGP key

$ curl https://raw.githubusercontent.com/ibnaleem/ibnaleem/main/public_key.asc -o ibnaleem_key.asc
$ cat ibnaleem_key.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 2024 7EC0 23F2 769E 6618  1C0F 581B 4A2A 862B BADE
Comment: Ibn Aleem <[email protected]>

xsFNBGVPmXcBEACtGLnSoh+hgHvWrTU/aBvO0HO5QglML+jzDR5K9f6+Ck5Gzolt
...

$ gpg --import ibnaleem_key.asc

Verify main.py

$ gpg --verify main.py.sig main.py
gpg: Signature made Sun 30 Jun 20:49:27 2024 BST
gpg:                using RSA key 20247EC023F2769E66181C0F581B4A2A862BBADE
gpg: Good signature from "Ibn Aleem <[email protected]>" [ultimate]

If you are not receiving the output above, redownload main.py, main.py.sig and try again, or contact me at [email protected] (please encrypt and sign to my PGP key)

Set user & passwd field on line 56

self.bot.login(user="YOUR INSTAGRAM USERNAME", passwd="YOUR INSTAGRAM PASSWORD") # this allows us to access & scrape Instagram.

Run the script

$ python3 main.py -u USERNAME

Important

You must login to your Instagram account in order to properly scrape someone else's Instagram account. This is due to Instagram blocking HTTPS GET requests from unauthenticated cookies. Your login information is never stored. See more here and here.

Tip

You can always create/use an alt-account for the login.

Signed