As I said earlier that we’ll be using osi.ig tool to gather information about Instagram in our termux application. So for that first, we need to install osi.ig tool in Termux. Follow the commands given below to install osi.ig:
Update the list of packages using apt update command.
apt update
Install git and python using apt install git python command.
apt install git python
Clone osi.ig tool in termux from GitHub using git clone command.
git clone https://github.com/th3unkn0n/osi.ig
Get inside osi.ig directory uisng cd command.
cd osi.ig
Install all the required python modules for osi.ig tool uisng pip install command.
pip install -r requirements.txt
That’s it now we are ready to use osi.ig tool to extract information about an instagram account directly in terminal.
Using OSI.IG Tool Instagram Termux
To see basic details about an account of instagram termux type python main.py -u <username> . Make sure to replace username with the username of the user that you want to search and also make sure you are in osi.ig directory.
python main.py -u <username>
python main.py -u amanbyte #example
As you can see from the above image we got information about an Instagram account like username, user id, followers, bio, profile image url, etc.
Now to know details about the post that was posted from an specific Instagram account type python main.py -u <username> -p .
python main.py -u <username> -p
python main.py -u amanbytes -p
As from the above image you can see that the script has returned information about posts like post typename, id, shortcode, dimensions, image url, etc.
Conclusion
So this is how you can use the osi.ig tool Instagram termux to print the details about an Instagram account directly in your terminal. Tools like osi.ig is very important for information gathering and in the same way you can install this osi,ig tool in linux too
Tags:
Termux