All Projects → harrypython → Itsagramlive

harrypython / Itsagramlive

Licence: gpl-3.0
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.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Itsagramlive

instagram-profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 964 (+800.93%)
Mutual labels:  instagram, python-script
Ripme
Downloads albums in bulk
Stars: ✭ 2,748 (+2468.22%)
Mutual labels:  help-wanted, instagram
Barinsta
Open-source alternative Instagram client on Android.
Stars: ✭ 717 (+570.09%)
Mutual labels:  help-wanted, instagram
Hackers Tool Kit
Its a framework filled with alot of options and hacking tools you use directly in the script from brute forcing to payload making im still adding more stuff i now have another tool out called htkl-lite its hackers-tool-kit just not as big and messy to see updates check on my instagram @tuf_unkn0wn or if there are any problems message me on instagram
Stars: ✭ 211 (+97.2%)
Mutual labels:  python-script, instagram
Instagram Profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 816 (+662.62%)
Mutual labels:  python-script, instagram
Ssl Checker
Python script that collects SSL/TLS information from hosts
Stars: ✭ 94 (-12.15%)
Mutual labels:  python-script
Wifibf
This is a wifi Brute Force. script undetectable and secure!
Stars: ✭ 102 (-4.67%)
Mutual labels:  python-script
Doesangue Core
Online platform that connects people interested in blood donation
Stars: ✭ 91 (-14.95%)
Mutual labels:  help-wanted
Virtual Makeup
Python script to apply lipstick, blush and nail polish to images
Stars: ✭ 89 (-16.82%)
Mutual labels:  python-script
Hyprpulse
Brute force multiple accounts at once
Stars: ✭ 105 (-1.87%)
Mutual labels:  instagram
Socialcounters
jQuery/PHP - Collection of Social Media APIs that display number of your social media fans. Facebook Likes, Twitter Followers, Instagram Followers, YouTube Subscribers, etc..
Stars: ✭ 104 (-2.8%)
Mutual labels:  instagram
Instagram api gem
A Ruby wrapper for the Instagram API
Stars: ✭ 100 (-6.54%)
Mutual labels:  instagram
Socialauthhelper
Easy social network authorization for Android. Supports Facebook, Twitter, Instagram, Google+, Vkontakte. Made by Stfalcon
Stars: ✭ 94 (-12.15%)
Mutual labels:  instagram
Omniauth Instagram
OmniAuth strategy for Instagram.
Stars: ✭ 103 (-3.74%)
Mutual labels:  instagram
Choicebot
Instagram bot to like, comment and follow based on hashtags
Stars: ✭ 94 (-12.15%)
Mutual labels:  instagram
Faceaging By Cyclegan
Stars: ✭ 105 (-1.87%)
Mutual labels:  python-script
Instabrute
Instagram password bruteforcer
Stars: ✭ 91 (-14.95%)
Mutual labels:  instagram
Swiftagram
A modern Swift wrapper for Instagram Private API.
Stars: ✭ 100 (-6.54%)
Mutual labels:  instagram
Instagram Bot Dm
Instagram bot to send direct messages
Stars: ✭ 101 (-5.61%)
Mutual labels:  instagram
Instagram private api extensions
An extension module to https://github.com/ping/instagram_private_api
Stars: ✭ 97 (-9.35%)
Mutual labels:  instagram

GitHub PyPI GitHub tag (latest by date)

It's A Gram Live

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 or XSplit Broadcaster.

Installation

pip install ItsAGramLive

Usage

from ItsAGramLive import ItsAGramLive

live = ItsAGramLive()

# or if you want to pre-define the username and password without args
# live = ItsAGramLive(
#    username='foo',
#    password='bar'
# )

live.start()
python3 live_broadcast.py -u yourInstagramUsername -p yourPassword -proxy user:[email protected]:port

The output will give you the RTMP Server address and the Stream key (automatically copied to your clipboard)

Usage with FFMPEG

Note: It is not possible use commands like chat or wave with this script. The live will be finish when the file finish the streaming.

import argparse  
import subprocess  
from ItsAGramLive import ItsAGramLive  
  
parser = argparse.ArgumentParser(add_help=True)  
parser.add_argument("-u", "--username", type=str, help="username", required=True)  
parser.add_argument("-p", "--password", type=str, help="password", required=True)  
parser.add_argument("-f", "--file", type=str, help="File", required=True)  
args = parser.parse_args()  
  
live = ItsAGramLive(username=args.username, password=args.password)  
  
if live.login():  
    print("You'r logged in")  
  
    if live.create_broadcast():  
  
        if live.start_broadcast():  
            ffmpeg_cmd = "ffmpeg " \  
                         "-rtbufsize 256M " \  
                         "-re " \  
                         "-i '{file}' " \  
                         "-acodec libmp3lame " \  
                         "-ar 44100 " \  
                         "-b:a 128k " \  
                         "-pix_fmt yuv420p " \  
                         "-profile:v baseline " \  
                         "-s 720x1280 " \  
                         "-bufsize 6000k " \  
                         "-vb 400k " \  
                         "-maxrate 1500k " \  
                         "-deinterlace " \  
                         "-vcodec libx264 " \  
                         "-preset veryfast " \  
                         "-g 30 -r 30 " \  
                         "-f flv '{stream_server}{stream_key}'".format(
						                       file=args.file,
                                                                       stream_server=live.stream_server,
                                                                       stream_key=live.stream_key
                                                                       )  
  
            print('CTRL+C to quit.')  
            try:  
                subprocess.call(ffmpeg_cmd, shell=True)  
            except KeyboardInterrupt:  
                pass  
            except Exception as error:  
                print(error)  
                live.end_broadcast()  
  
            live.end_broadcast()
python3 live_broadcast_ffmpeg.py -u yourInstagramUsername -p yourPassword -f /path/to/video/file.mp4

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
  • pin Send a comment and pin it
  • unpin Remove a pinned comment
  • comments Get the list of comments
  • wave Wave to a viewer
  • stop Terminate broadcast

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.

License

GNU GPLv3

Buy me a coffee

Buy Me A Coffee

Instagram Bot

Check my Instagram Bot: BurbnBot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].