Skip to main content

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

License

GNU GPLv3

See Also

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 details)

Uploaded Source

File details

Details for the file InstaLiveCLI-1.0.3.tar.gz.

File metadata

  • Download URL: InstaLiveCLI-1.0.3.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for InstaLiveCLI-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6822918e5136122f7e5e0bc52a28c478492cd412d19cca422637c677a05e2370
MD5 f2a00192add1d79f4d864d7e16dcdb46
BLAKE2b-256 c00eba11101a3828e60efc0fadd8c558cddd3890d0e67b03038938d6bc172cb9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page