Gets instagram public username and returns usefull informations like profilepic(b64), video_urls etc.

Overview

NEMESIS TEAM LOGO

InstaSucker

Gets instagram public username and returns usefull informations like profilepic(b64), video_urls etc.

Information

  • this project contains a main python file and the instagram-private-api module files, the main file uses the module only for authentication and the main program that extracts the data is our main.py file.
  • the instapi directory is needed and the instagram-private-api module must be installed before use.

How to run

  • First of all run:
    pip install -r requirements.txt
    

1- to run directly :

  • run the main.py file with or without arguments, if you do not provide the required information with arguments it will ask you to enter them manually in the terminal.
  • if you run the file directly the output will automatically be saved to an outputxx.json file where xx is a random number.

2- to use this feature in another file :

  • just import the extractIG function from main.py -> "from main import extractIG"

  • you may face some import errors from 1 outta 10000 but if you did you have to manually put a . at the beggrning of some imports, I'll talk about it more at the end.

  • by importing and using "extractIG" in another file it will return all information as json.

  • to user the returned json for those who are not familiar just follow the steps below:

    • data = extractIG('username', 'password', 'target_username')
    • data = json.loads(data)

    now to access the data just follow the path like this:

        data["user"]["username"]

    the returned json structure is:

        allInfo = {
        'user': {
            'username' : '',
            'uid' : '',
            'bio' : '',
            'followings_count' : '',
            'followers_count' : '',
            'profile_pic_url' : '',
            'profile_pic_b64': '',
            'videos' : [],
    
            }
    }

    to access the videos loop through them:

    videos = data["user"]["videos"]
    for video in videos:
        ... # do anything you want to each video

NOTES

  • Do not try to print the data because the returned image is formated to base64 and that's a lots of text and makes it unreadable when printed to the terminal.

  • As I said at the beggining after running the main file directly all the returned data will be stored in a json file, you can use "Beautify" extension to make the json file more readable and tidier.

Do not HeZiTaTe to open issues if there was a problem!

❤️ ❤️ ❤️

Owner
Armin Amiri
Senior python Dev. All langs: Py, C, Rust, Ruby, Js
Armin Amiri
Total servers you're in!

Discord-Servercount With this script you can check the amount of servers you are in, along with statistics of how many servers you are owner in and in

Nickyux 1 Feb 12, 2022
This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind you to take your umbrella.

RainAlert-Request-Twilio This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind yo

9 Apr 15, 2022
This is a straightforward python implementation to specifically grab basic infos about IPO companies in China from Sina Stock website.

SinaStockBasicInfoCollect This is a straightforward python implementation to specifically grab basic infos about IPO companies in China from Sina Stoc

CrosSea 1 Dec 09, 2021
Scrape the Twitter Frontend API without authentication.

Twitter Scraper 🇰🇷 Read Korean Version Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has

Buğra İşgüzar 3.4k Jan 08, 2023
A Python Tumblr API v2 Client

PyTumblr Installation Install via pip: $ pip install pytumblr Install from source: $ git clone https://github.com/tumblr/pytumblr.git $ cd pytumblr $

Tumblr 677 Dec 21, 2022
Best badge generator API to count visitors of your Repository / Account 🥇

github visitors badge A badge generator service to count visitors of your markdown file. Hello every one! In this post, I will tell you the story of m

Sᴇɴᴜ Gᴀᴍᴇʀ Bᴏʏ 〽 3 Dec 11, 2021
A simple telegram bot that resolves video urls using yt-dlp

URL to Video Telegram Bot A simple telegram bot that resolves video urls using yt-dlp Copyright (C) 2021 Vítor Vasconcellos This program is free softw

Vítor 1 Nov 18, 2021
Example notebooks for working with SageMaker Studio Lab. Sign up for an account at the link below!

SageMaker Studio Lab Sample Notebooks Available today in public preview. If you are looking for a no-cost compute environment to run Jupyter notebooks

Amazon Web Services 304 Jan 01, 2023
Discord.py(disnake) selfbot

Zzee selfbot Discord.py selfbot Version: 1.0 ATTENTION! we are not responsible for your discord account! this program violates the ToS discord rules!

1 Jan 10, 2022
A bot to display per user data from the Twitch Leak

twitch-leak-bot-discord A bot to display per user data from the Twitch Leak by username Where's the data? I can't and don't want to supply the .csv's

SSSEAL-C 0 Nov 08, 2022
An Unofficial TikTok API Wrapper In Python

This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information as well as much more.

David Teather 2.9k Jan 08, 2023
PlaylistAudioBot - Telegram playlist download bot with ytdl

Telegram PlaylistAudioBot PlaylistAudioBot: 🇬🇧 Telegram playlist download bot

Hüzünlü Artemis [HuzunluArtemis] 14 Jul 22, 2022
Kali Kush - Account Nuker Tool

Kali Kush - Account Nuker Tool This is a discord tool made by me, and SSL :) antho#1731 How to use? pip3 install -r requirements.txt -py kalikush.py -

ryan 3 Dec 21, 2021
An automated, headless YouTube Uploader

An automated, headless YouTube Uploader Authors: Christian C., Moritz M., Luca S. Related Projects: YouTube Watcher, Twitch Compilation Creator, Neura

127 Dec 23, 2022
The best discord.py template with a changeable prefix

Discord.py Bot Template By noma4321#0035 With A Custom Prefix To Every Guild Function Features Has a custom prefix that is changeable for every guild

Noma4321 5 Nov 24, 2022
A Telegram Bot to return Youtube Video Tags Using YoutubeTags API

YouTube-TagFind-Bot A Telegram Bot to return Youtube Video Tags Using YoutubeTags API YoutubeTags API Wrapper YoutubeTags is a python third-party api

Nuhman Pk 9 Aug 25, 2022
A Telegram bot to download posts, videos, reels, IGTV and a user profile picture from Instagram!

Telegram Bot A telegram bot to download media from Instagram! No API Key or Login Needed! Requirements You must have python installed (of course) You

Simon Farah 2 Apr 10, 2022
🐙 Share your Github stats for 2020 on Twitter

Year on Github 🐙 Share your Github stats for 2020 on Twitter. This project contains a small web app that let's you share stats about your Github acti

Johannes Rieke 129 Dec 25, 2022
Template to create a telegram bot in python

Template for Telegram Bot Template to create a telegram bot in python. How to Run First add src to PYTHONPATH: export PYTHONPATH=${PWD} Then run: pyt

Ali Hejazizo 12 Dec 24, 2022
A simple Discord bot that can fetch definitions and post them in chat.

A simple Discord bot that can fetch definitions and post them in chat. If you are connected to a voice channel, the bot will also read out the definition to you.

Tycho Bellers 4 Sep 29, 2022