b31ngd3v / MyIGBot

MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
https://pypi.org/project/myigbot/
MIT License
174 stars 35 forks source link

added a method to return headers #9

Closed iJohnMaged closed 3 years ago

iJohnMaged commented 3 years ago

It's not much, but it's honest work. 👯

I didn't go through the whole codebase yet, but I noticed this could be cleaned up a bit to shorten code and allows for readability. I added a method to return the headers, as well as options params to change keys as required, if you want to change some of them.