Pārlūkot izejas kodu

Bump version to 2.3.3

Cammy 7 gadi atpakaļ
vecāks
revīzija
7105dcfe7d
4 mainītis faili ar 14 papildinājumiem un 6 dzēšanām
  1. 6 0
      MOREHELP.md
  2. 6 4
      README.md
  3. 1 1
      pyinstalive/initialize.py
  4. 1 1
      setup.py

+ 6 - 0
MOREHELP.md

@@ -24,6 +24,8 @@ save_path =
 show_cookie_expiry = true
 clear_temp_files = false
 save_replays = true
+run_at_start =
+run_at_finish =
 ```
 
 ```username```  **—**  Instagram username to login with.
@@ -37,3 +39,7 @@ save_replays = true
 ```clear_temp_files```  **—**  When set to True, PyInstaLive will delete all temporary files that were downloaded. Folders created by PyInstaLive will not be deleted.
 
 ```save_replays```  **—**  When set to True, PyInstaLive will check for and download any available replays.
+
+```run_at_start```  **—**  Python script to run when PyInstaLive starts recording a livestream. (Experimental, use at own risk.)
+
+```run_at_finish```  **—**  Python script to run when PyInstaLive finishes recording a livestream. (Experimental, use at own risk.)

+ 6 - 4
README.md

@@ -1,5 +1,5 @@
 # PyInstaLive
-![Version 2.3.2](https://img.shields.io/badge/Version-2.3.2-pink.svg?style=for-the-badge)
+![Version 2.3.3](https://img.shields.io/badge/Version-2.3.3-pink.svg?style=for-the-badge)
 
 This script enables you to download Instagram livestreams as well as any available replays. It is based on [another script](https://github.com/taengstagram/instagram-livestream-downloader) that has now been discontinued. 
 
@@ -22,15 +22,15 @@ You need [ffmpeg](https://ffmpeg.org/download.html), [Git](https://git-scm.com/d
 
 Run the following command in command line (as administrator in Windows) / terminal:
 ```bash
-pip install git+https://github.com/notcammy/PyInstaLive.git@2.3.2 --process-dependency-links
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.3.3 --process-dependency-links
 ```
 
 #### Updating
 
-To update PyInstaLive to the latest version (currently **2.3.2**) run the following command:
+To update PyInstaLive to the latest version (currently **2.3.3**) run the following command:
 
 ```bash
-pip install git+https://github.com/notcammy/PyInstaLive.git@2.3.2 --process-dependency-links --upgrade
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.3.3 --process-dependency-links --upgrade
 ```
 
 **Note**: From version 2.2.9 and up, newly generated login cookie files are now named after the username in the configuration file. If you have an existing cookie file called 'credentials.json' it is a good idea to rename it to the username it is associated with so PyInstaLive won't needlessly create a new cookie file.
@@ -59,6 +59,8 @@ save_path =
 show_cookie_expiry = true
 clear_temp_files = false
 save_replays = true
+run_at_start =
+run_at_finish =
 ```
 
 Use the following command to run PyInstaLive:

+ 1 - 1
pyinstalive/initialize.py

@@ -11,7 +11,7 @@ from .logger import log, seperator, supports_color
 from .downloader import main
 from .settings import settings
 
-script_version = "2.3.2"
+script_version = "2.3.3"
 python_version = sys.version.split(' ')[0]
 bool_values = {'True', 'False'}
 

+ 1 - 1
setup.py

@@ -2,7 +2,7 @@ from setuptools import setup
 
 __author__ = 'notcammy'
 __email__ = 'neus2benen@gmail.com'
-__version__ = '2.3.2'
+__version__ = '2.3.3'
 
 _api_version = '1.3.6'
 _api_extensions_version = '0.3.6'