Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Latest commit

 

History

History
167 lines (131 loc) · 3.99 KB

README.md

File metadata and controls

167 lines (131 loc) · 3.99 KB

InstaLiveCLI

🐍 🌐 🌟
Live Instagram with CLI
InstaLiveCLI is a Python CLI that create and control an Instagram Live and provide you a rtmp server and stream key to streaming using sofwares like OBS-Studio or XSplit Broadcaster.

The little script that could. Built with ❤︎ by Raihan Yudo Saputra and make it possible by harrypython

Table of Contents

Features

  • stability: It's very stable script to starting your live ⭐
  • easy to use: using arguments or write it yourself in script 💨
  • fully featured: control your broadcast just like in the app ✨
  • cookie persistent: login once, use it anytime for 90 days 👏
  • python: Everyone knows that, It's a python 🐍

Installation

pip install InstaLiveCLI

Commands

  • info Show details about the broadcast
  • mute comments Prevent viewers from commenting
  • unmute comments Allow viewers do comments
  • viewers List viewers
  • chat Send a comment
  • comments Get the list of comments
  • wave Wave to a viewer
  • stop Terminate broadcast

Example

There's two ways how to use and operate it, with Command Line and Script:

> Command Line

from InstaLiveCLI import InstaLiveCLI

live = InstaLiveCLI()
live.start()
python3 live_broadcast.py -u yourInstagramUsername -p yourPassword -proxy user:password@ip:port

and you're ready to go. 💥

> Scripting

It possible to use this package in your projects without needing to configure and code anything, just place it! 💕

from InstaLiveCLI import InstaLiveCLI

live = InstaLiveCLI(
	username='foo',
	password='bar'
)
"""
And you can access all the function on the class
You can read the documentation!
"""
live.create_broadcast() #for example
print(live.stream_key) # ...
python3 live_broadcast.py

Want to see more examples? Check out the documentation. 📖

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Author

License

GNU GPLv3

See Also