harrypython / itsagramlive

It's A Gram Live is a Python script that create a Instagram Live and provide you a rtmp server and stream key to streaming using sofwares like OBS-Studio.
GNU General Public License v3.0
175 stars 51 forks source link

View comments #8

Closed angeloruggieridj closed 4 years ago

angeloruggieridj commented 4 years ago

Hi, I really like your project and, if you want I could help you to extend this project!

I've created a function to get the comments of a Live. The code is shown below:

    def get_comments(self):
        if self.send_request("live/{}/get_comment/".format(self.broadcast_id)):
            for comment in self.LastJson['comments']:
                print(f"{comment['user']['username']} has posted a new comment: {comment['text']}")
harrypython commented 4 years ago

Thank you so much, Please, use the Feature request model (when you open a new issue) and fell free to do a pull request 😃

ahmadd110 commented 4 years ago

Hi, I really like your project and, if you want I could help you to extend this project!

I've created a function to get the comments of a Live. The code is shown below:

    def get_comments(self):
        if self.send_request("live/{}/get_comment/".format(self.broadcast_id)):
            for comment in self.LastJson['comments']:
                print(f"{comment['user']['username']} has posted a new comment: {comment['text']}")

can u look at this? https://github.com/harrypython/itsagramlive/issues/4

harrypython commented 4 years ago

can u look at this?

4

Sure, I forgot to close. Thank you 😄