浏览代码

Bump version to 2.4.7

notcammy 7 年之前
父节点
当前提交
4e029582cd
共有 5 个文件被更改,包括 35 次插入9 次删除
  1. 1 1
      .github/issue_template.md
  2. 18 1
      MOREHELP.md
  3. 14 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.4.6.
+- [ ] I have installed the latest version of PyInstaLive: 2.4.7.
 - [ ] 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).

+ 18 - 1
MOREHELP.md

@@ -26,7 +26,14 @@ clear_temp_files = false
 save_replays = true
 run_at_start =
 run_at_finish =
-save_comments = false 
+save_comments = false
+
+[ftp]
+ftp_enabled = false
+ftp_host = 
+ftp_save_path = 
+ftp_username = 
+ftp_password = 
 ```
 
 ```username```  **—**  Instagram username to login with.
@@ -46,3 +53,13 @@ save_comments = false
 ```run_at_finish```  **—**  Python script 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.)
+
+```ftp_enabled```  **—** When set to true, PyInstaLive will upload downloaded files to the configured FTP server. (Experimental, use at own risk.)
+
+```ftp_host```  **—** Host IP or URL for the FTP server.
+
+```ftp_save_path```  **—** FTP server save path to upload the downloaded files to.
+
+```ftp_username```  **—** FTP username to login with.
+
+```ftp_password```  **—** FTP password to login with.

+ 14 - 5
README.md

@@ -1,5 +1,5 @@
 # PyInstaLive
-![Version 2.4.6](https://img.shields.io/badge/Version-2.4.6-pink.svg?style=for-the-badge)
+![Version 2.4.7](https://img.shields.io/badge/Version-2.4.7-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. 
 
@@ -22,15 +22,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.4.6 --process-dependency-links
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.4.7 --process-dependency-links
 ```
 
 #### Updating
 
-To update PyInstaLive to the latest version (currently **2.4.6**) run the following command:
+To update PyInstaLive to the latest version (currently **2.4.7**) run the following command:
 
 ```bash
-pip install git+https://github.com/notcammy/PyInstaLive.git@2.4.6 --process-dependency-links --upgrade
+pip install git+https://github.com/notcammy/PyInstaLive.git@2.4.7 --process-dependency-links --upgrade
 ```
 
 #### Specific versions
@@ -62,6 +62,13 @@ save_replays = true
 run_at_start =
 run_at_finish =
 save_comments = false
+
+[ftp]
+ftp_enabled = false
+ftp_host = 
+ftp_save_path = 
+ftp_username = 
+ftp_password = 
 ```
 
 Use the following command to run PyInstaLive:
@@ -85,7 +92,7 @@ Below is an example of PyInstaLive's output after downloading a livestream:
 
 ```
 ----------------------------------------------------------------------
-PYINSTALIVE (SCRIPT V2.4.6 - PYTHON V3.6.3) - 06:45:30 PM
+PYINSTALIVE (SCRIPT V2.4.7 - PYTHON V3.6.3) - 06:45:30 PM
 ----------------------------------------------------------------------
 [I] Logging in to user "johndoe" successful.
 [I] Login cookie expiry date: 2018-01-31 at 10:30:00 PM
@@ -117,6 +124,8 @@ PYINSTALIVE (SCRIPT V2.4.6 - PYTHON V3.6.3) - 06:45:30 PM
 
 
 #### Notes
+- The option to upload downloaded files to an FTP server is experimental. Use at your own risk.
+
 - The option to run a script upon starting and ending a stream download is experimental. Use at your own risk.
 
 - The option to download comments is experimental and only fully supported with Python 3. Python 2 cannot save most unicode characters if it's not built from source using the `--enable-unicode=ucs4` flag. Read more about this [here](https://emoji-unicode.readthedocs.io/en/latest/python2.html). Use at your own risk.

+ 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.4.6"
+script_version = "2.4.7"
 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.4.6'
+__version__ = '2.4.7'
 
 _api_version = '1.4.1'
 _api_extensions_version = '0.3.6'