All Projects → dvingerh → Pyinstalive

dvingerh / Pyinstalive

Licence: mit
Python script to download Instagram livestreams and replays.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pyinstalive

ee.Yrewind
Can rewind and save YouTube live stream
Stars: ✭ 133 (-60.42%)
Mutual labels:  downloader, stream, download, livestream, live, record
canvas-record
A one trick pony package to record and download a video from a canvas animation.
Stars: ✭ 64 (-80.95%)
Mutual labels:  downloader, download, recorder, record
Streamwall
Display a mosaic of livestreams. Built for streaming.
Stars: ✭ 160 (-52.38%)
Mutual labels:  stream, livestream, instagram
Media Server Go Demo
webrtc media server go demo
Stars: ✭ 140 (-58.33%)
Mutual labels:  broadcast, live, record
ngDownloader
📹 🎥 Now Download videos from any website including YouTube, Facebook, Udemy etc without ads.
Stars: ✭ 47 (-86.01%)
Mutual labels:  instagram, downloader, download
Bilibili Live Recorder
下载 bilibili 直播 视频流
Stars: ✭ 52 (-84.52%)
Mutual labels:  stream, live, record
twitchpipe
Pipe your favorite Twitch streams to the media player of your choice, or a file to save them for later. Supports low-latency playback.
Stars: ✭ 28 (-91.67%)
Mutual labels:  stream, livestream, record
Pyinstastories
Python script to download Instagram stories from Instagram users.
Stars: ✭ 260 (-22.62%)
Mutual labels:  downloader, download, instagram
Diffy
🎞️💓🍿 Love streaming - It's always best to watch a movie together ! 🤗
Stars: ✭ 37 (-88.99%)
Mutual labels:  stream, live
YoutubePlayer
Play and download YouTube videos. Extract audio from video. With minimalist beautiful gui.
Stars: ✭ 19 (-94.35%)
Mutual labels:  downloader, download
github-release-downloader
CLI tool to download all release assets from a git repository
Stars: ✭ 26 (-92.26%)
Mutual labels:  downloader, download
live-stream-recorder
Monitor and record live streams from YouTube, OPENREC, TwitCasting, etc. Made for VTuber fans. (VTuber 直播自动录像脚本)
Stars: ✭ 297 (-11.61%)
Mutual labels:  livestream, recorder
Zeiver
A Scraper, Downloader, & Recorder for static open directories.
Stars: ✭ 14 (-95.83%)
Mutual labels:  downloader, recorder
Huong-dan-cai-dat-stream-server-va-chuyen-doi-video-sang-streaming
Hướng dẫn cài đặt stream server và chuyển đổi video thường sang dạng TS Streaming
Stars: ✭ 29 (-91.37%)
Mutual labels:  stream, livestream
Treehouse-dl
Scipt allow download treehouse all videos and other stuff :3
Stars: ✭ 21 (-93.75%)
Mutual labels:  downloader, download
sofie-core
Sofie: The Modern TV News Studio Automation System (Server Core)
Stars: ✭ 70 (-79.17%)
Mutual labels:  live, broadcast
snowem
Snowem is a lightweight live streaming server, based on webrtc technology. Its design mainly focuses on simplicity, scalability and high performance.
Stars: ✭ 73 (-78.27%)
Mutual labels:  livestream, broadcast
angular-material-datatransfer
A HTML5 datatransfer UI for handling upload and download of multiple simultaneous files.
Stars: ✭ 13 (-96.13%)
Mutual labels:  downloader, download
twitch-downloader
Download Twitch VODs and Clips
Stars: ✭ 37 (-88.99%)
Mutual labels:  downloader, download
keeptune
Google Chrome Extension to download on Bandcamp, Soundcloud...
Stars: ✭ 49 (-85.42%)
Mutual labels:  downloader, download

Notice

Active development for this script has ended. Issues will no longer be looked into and no more updates will be made.

PyInstaLive

Version 3.2.4 Python 2.7, 3.5

Support me!

This Python script enables you to download any ongoing Instagram livestreams as well as any available replays. It is based on another script that has now been discontinued.

Table of Contents

Main Features

PyInstaLive is capable of downloading:

  • Ongoing livestreams (also detects livestreams where the specified user is being guested).
  • Saved replays.
  • Livestream and replay comments.
  • Available livestreams and replays from your following user feed, concurrently.

Quickstart

  • Read the Notes & Help sections below (important!)
  • Install the prerequisites and then PyInstaLive.
  • Run pyinstalive to generate a default configuration file.
  • Edit the configuration file using any text editor.
  • Run pyinstalive -d "<live-username>" to start downloading a livestream or replay.

Prerequisites

Make sure all tools are accessible via command line (added to your PATH if on Windows, use Google).

Installation

Tip — To install PyInstaLive with the latest commit changes, remove the version tag from the install command (e.g. @3.2.4).

Installing

Run the following command in your command line (might need to be run as administrator on Windows):

pip install git+https://github.com/dvingerh/[email protected]

Updating

To update PyInstaLive to the latest version (currently 3.2.4) run the following command:

pip install git+https://github.com/dvingerh/[email protected] --upgrade

Specific versions

If you want to install a specific version of PyInstaLive when for example the newest version contains a bug, you can specify a different version tag in the install command:

pip install git+https://github.com/dvingerh/[email protected]

Use the version number you want after the @ symbol (e.g @2.2.0).

Usage

Make sure there is a configuration file called pyinstalive.ini in the directory you want to run PyInstaLive from.

PyInstaLive will automatically generate a default configuration file for you to edit if one is not present already.

Here is an example of a valid configuration file:

[pyinstalive]
username = johndoe
password = grapefruits
download_path = 
download_lives = True
download_replays = True
download_comments = true
show_cookie_expiry = True
log_to_file = True
ffmpeg_path = 
run_at_start =
run_at_finish =
use_locks = True
clear_temp_files = False
do_heartbeat = True
proxy = 
skip_merge = False

Example

pyinstalive -u "johndoe" -p "grapefruits" -d "janedoe"

You can omit the username and password arguments if you have specified these in the configuration file:

pyinstalive -d "janedoe"

Below is an example of PyInstaLive's output after downloading a livestream:

> pyinstalive -d "janedoe"

---------------------------------------------------------------------------
[I] PYINSTALIVE (SCRIPT V3.2.4 - PYTHON V3.6.3) - 01-02-2019 06:56:29 PM
---------------------------------------------------------------------------
[I] Successfully logged into account: johndoe
---------------------------------------------------------------------------
[I] Getting info for 'janedoe' successful.
---------------------------------------------------------------------------
[I] Livestream available, starting download.
---------------------------------------------------------------------------
[I] Username    : janedoe
[I] Viewers     : 335 watching
[I] Airing time : 2 minutes and 8 seconds
[I] Status      : Active
---------------------------------------------------------------------------
[I] Downloading livestream, press [CTRL+C] to abort.
---------------------------------------------------------------------------
[I] The livestream has been ended by the user.
---------------------------------------------------------------------------
[I] Airtime duration  : 3 minutes and 13 seconds
[I] Download duration : 1 minutes and 7 seconds
[I] Missing (approx.) : 2 minutes and 6 seconds
---------------------------------------------------------------------------
[I] Waiting for comment downloader to finish.
[I] Successfully saved 19 comments.
---------------------------------------------------------------------------
[I] Merging downloaded files into video.
[I] Successfully merged downloaded files into video.
---------------------------------------------------------------------------
[I] There are no available replays.
---------------------------------------------------------------------------

Notes

  • I have not much time to extensively test the changes I make to the code, so when you do encounter a problem please open an issue and try using an older version of PyInstaLive in the meantime.

  • Python 2 cannot save most unicode characters in comments such as emojis if it's not built from source using the --enable-unicode=ucs4 argument. Read more about this here. This should probably not affect pre-installed Python 2 installations on Linux-based systems such as Ubuntu or Debian.

Help

You can find a list of frequently asked questions here.

You can find a list of available commands and an explanation of the configuration file here.

If you would like to report a bug or ask a question please open an issue.

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].