瀏覽代碼

Bump version to 2.5.2

Cammy 7 年之前
父節點
當前提交
97829c2361
共有 5 個文件被更改,包括 13 次插入9 次删除
  1. 1 1
      .github/issue_template.md
  2. 4 1
      MOREHELP.md
  3. 6 5
      README.md
  4. 1 1
      pyinstalive/initialize.py
  5. 1 1
      setup.py

+ 1 - 1
.github/issue_template.md

@@ -1,7 +1,7 @@
 ### Please check the boxes below by filling [ ] with an x so it looks like [x].
 ###### Remove all spaces already present in the box.
 
-- [ ] I have installed the latest version of PyInstaLive: 2.5.1.
+- [ ] I have installed the latest version of PyInstaLive: 2.5.2.
 - [ ] I have installed either Python 2.7.x or 3.5>=.
 - [ ] I have read the [README](https://github.com/notcammy/pyinstalive/blob/master/README.md).
 - [ ] I have read the [FAQ](https://github.com/notcammy/pyinstalive/blob/master/FAQ.md).

+ 4 - 1
MOREHELP.md

@@ -29,6 +29,7 @@ save_replays = true
 run_at_start =
 run_at_finish =
 save_comments = false
+log_to_file = false
 ```
 
 ```username```  **—**  Instagram username to login with.
@@ -47,4 +48,6 @@ save_comments = false
 
 ```run_at_finish```  **—**  Command to run when PyInstaLive finishes recording a livestream. Leave empty to disable. (Experimental, use at own risk.) 
  
-```save_comments```  **—**  When set to true, PyInstaLive will try to save comments from a livestream or replay to a log file. Verified users have *(v)* next to their name. (Experimental, use at own risk.)
+```save_comments```  **—**  When set to true, PyInstaLive will try to save comments from a livestream or replay to a log file. Verified users have *(v)* next to their name. (Experimental, use at own risk.)
+
+```log_to_file```  **—**  When set to true, PyInstaLive will all its console logs to a text file. Useful if you want to keep track of errors when running the script in a loop for example. The filename will be `pyinstalive_<live-username>.log` where `<live_username>` will be the username of the Instagram user whose livestream or replay you want to download. If no username was given to download (e.g when running `pyinstalive --clean`) the filename will simply be named `pyinstalive_log.log`.

+ 6 - 5
README.md

@@ -1,5 +1,5 @@
 # PyInstaLive
-![Version 2.5.1](https://img.shields.io/badge/Version-2.5.1-pink.svg?style=for-the-badge)
+![Version 2.5.2](https://img.shields.io/badge/Version-2.5.2-pink.svg?style=for-the-badge)
 
 This script enables you to download any ongoing 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. 
 
@@ -38,15 +38,15 @@ You need [ffmpeg](https://ffmpeg.org/download.html), [Git](https://git-scm.com/d
 
 Run the following command in Command Prompt (might need to be run as administrator on Windows) or a terminal:
 ```bash
-pip install git+https://github.com/notcammy/PyInstaLive.git@2.5.1 --process-dependency-links
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.5.2 --process-dependency-links
 ```
 
 #### Updating
 
-To update PyInstaLive to the latest version (currently **2.5.1**) run the following command:
+To update PyInstaLive to the latest version (currently **2.5.2**) run the following command:
 
 ```bash
-pip install git+https://github.com/notcammy/PyInstaLive.git@2.5.1 --process-dependency-links --upgrade
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.5.2 --process-dependency-links --upgrade
 ```
 
 #### Specific versions
@@ -79,6 +79,7 @@ save_replays = true
 run_at_start =
 run_at_finish =
 save_comments = false
+log_to_file = false
 ```
 
 Use the following command to run PyInstaLive:
@@ -102,7 +103,7 @@ Below is an example of PyInstaLive's output after downloading a livestream:
 
 ```
 ----------------------------------------------------------------------
-PYINSTALIVE (SCRIPT V2.5.1 - PYTHON V3.6.3) - 06:45:30 PM
+PYINSTALIVE (SCRIPT V2.5.2 - PYTHON V3.6.3) - 06:45:30 PM
 ----------------------------------------------------------------------
 [I] Using cached login cookie for "johndoe".
 [I] Login cookie expiry date: 2018-01-31 at 10:30:00 PM

+ 1 - 1
pyinstalive/initialize.py

@@ -14,7 +14,7 @@ from .logger import seperator
 from .logger import supports_color
 from .settings import settings
 
-script_version = "2.5.1"
+script_version = "2.5.2"
 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.5.1'
+__version__ = '2.5.2'
 
 _api_version = '1.5.5'
 _api_extensions_version = '0.3.7'