Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikhil-swamix/swamixinstabot
this repo contains codes related to instagram, bots and scripts, exploiting API's and automation to create new unofficial features.
https://github.com/nikhil-swamix/swamixinstabot
automation bots hacking instagram scripts
Last synced: 15 days ago
JSON representation
this repo contains codes related to instagram, bots and scripts, exploiting API's and automation to create new unofficial features.
- Host: GitHub
- URL: https://github.com/nikhil-swamix/swamixinstabot
- Owner: nikhil-swamix
- Created: 2021-05-16T16:21:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-08T21:00:40.000Z (over 2 years ago)
- Last Synced: 2024-04-23T02:31:03.925Z (9 months ago)
- Topics: automation, bots, hacking, instagram, scripts
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Documentation of my messy code
### ask any doubts in issues, or directly open pull request so i will add your code here.
# get_user_followers.py code explanation:
## About Variable (apiurlprefix):
please note that variable (apiurlprefix) is url of my account,
it may slightly differ for you, to identify correct url, go to chrome, open inspect
element, then go to network tab, and open your instagram account and open followers
tab, now the app (aka your browser) makes a request to server with your client api
parameters. so as soon as you open your followers list, then check the latest request
in network tab, that is the url you are looking for my friend, now check its response,
it will be a JSON derulo. all stuff i have done here is parsing the json and calculating
logical difference of followers aka tracking based on timestamps.
## About Variable (userid):
do not worry about userid, it can be fetched/resolved with
'get_userid' function which i wrote above, in the if main block below,
just change the variable for example userid='_nikhil_swami_', rest assured handled.
## About Variable (headers):
headers are sent with request module as request.get(url,headers={'apple':'ball'}), its basically,
the method of sending mini data with each request, here our mini data is cookie , it helps the server to
identify you are you, like a id-card. so please get your cookie from the browser via
Browser->inspect_element->network_tab->Request_Headers->Cookie.