InstaLiveCLI is a Python CLI that create a Instagram Live and provide you a rtmp server and stream key to streaming using sofwares like OBS-Studio.
Project description
InstaLiveCLI
:snake: :globe_with_meridians: :star2:
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 :star:
- easy to use: using arguments or write it yourself in script :dash:
- fully featured: control your broadcast just like in the app :sparkles:
- cookie persistent: login once, use it anytime for 90 days :clap:
- python: Everyone knows that, It's a python :snake:
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. :boom:
> Scripting
It possible to use this package in your projects without needing to configure and code anything, just place it! :two_hearts:
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. :book:
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
- HarryPython - itsagramlive ( CLI Version )
- Raihan Yudo Saputra - instalivecli
License
See Also
- InstaLiveWeb - a web version of it
- ItsAGramLive - initial project from Harry Python
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
InstaLiveCLI-1.0.3.tar.gz
(10.5 kB
view hashes)