forked from dvingerh/PyInstaLive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename variables, update markdowns, fix bad quality dash stream
- Loading branch information
Showing
13 changed files
with
147 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,5 @@ venv/ | |
|
||
|
||
*_downloads\ | ||
|
||
*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
|
||
- ```-cl``` or ```--clean``` **—** PyInstaLive clean the current download folder by deleting folders ending in `_downloads`. Any folders that contain a `folder.lock` file (e.g. folders for ongoing downloads) will be skipped. | ||
|
||
- ```-df``` or ```--download-following``` **—** PyInstaLive will check if any users from your following list have any available livestreams or replays and start a daemon process running PyInstaLive in the background for those that do. You cannot cancel the launched processes or start them with any extra arguments. It's recommended to enable ```log_to_file``` when using this argument. (Experimental, use at own risk.) | ||
- ```-df``` or ```--download-following``` **—** PyInstaLive will check if any users from your following list have any available livestreams and start a daemon process running PyInstaLive in the background for those that do. You cannot cancel the launched processes or start them with any extra arguments. It's recommended to enable ```log_to_file``` when using this argument. (Experimental, use at own risk.) | ||
|
||
- ```-cp``` or ```--config-path``` **—** Passing this argument along with a valid path to a different configuration file will override the default path used by PyInstaLive (the current directory you are executing the script in). | ||
|
||
|
@@ -23,7 +23,7 @@ | |
|
||
- ```-b``` or ```--batch-file``` **—** PyInstaLive will check the users inside a text file for any available livestreams or replays. | ||
|
||
- ```-o``` or ```--organize``` **—** (**In testing, use at your own discretion**) Passing this argument will create a folder for each user whose livestream(s) you have downloaded. The names of the folders will be their usernames. It will then move the video and log files of each user into their associated folder and rename the files to a more friendly format. Example filename: ```19-04-2020 06-02-10-PM johndoe (replay).mp4```. Temporary file segment folders will not be moved. | ||
- ```-o``` or ```--organize``` **—** (**In testing, use at your own discretion**) Passing this argument will create a folder for each user whose livestream(s) you have downloaded. The names of the folders will be their usernames. It will then move the video and log files of each user into their associated folder and rename the files to a more friendly format. Example filename: ```19-04-2020 06-02-10-PM johndoe.mp4```. Temporary file segment folders will not be moved. | ||
|
||
- ```-sm``` or ```--skip-assemble``` **—** PyInstaLive will not assemble any download livestream files when this argument is used. | ||
|
||
|
@@ -35,46 +35,35 @@ | |
username = johndoe | ||
password = grapefruits | ||
download_path = | ||
show_cookie_expiry = True | ||
log_to_file = True | ||
ffmpeg_path = | ||
run_at_start = | ||
run_at_finish = | ||
use_locks = True | ||
show_session_expires = True | ||
download_comments = True | ||
clear_temp_files = False | ||
do_heartbeat = True | ||
proxy = | ||
cmd_on_started = | ||
cmd_on_ended = | ||
ffmpeg_path = | ||
log_to_file = True | ||
skip_assemble = False | ||
use_locks = True | ||
``` | ||
|
||
```username``` **—** Instagram username to login with. | ||
|
||
```password``` **—** Instagram password to login with. | ||
|
||
```download_path``` **—** Path to the folder where downloaded Instagram livestreams and replays will be saved. PyInstaLive must have permission to write files to this folder. If left empty, PyInstaLive will attempt to fall back to the folder where it's being run from. | ||
```download_path``` **—** Path to the folder where downloaded Instagram livestreams will be saved. PyInstaLive must have permission to write files to this folder. If left empty, PyInstaLive will attempt to fall back to the folder where it's being run from. | ||
|
||
```download_lives``` **—** When set to True, PyInstaLive will download livestreams. | ||
|
||
```download_replays``` **—** When set to True, PyInstaLive will download any available replays. | ||
|
||
```download_comments``` **—** When set to true, PyInstaLive will try to download comments from a livestream or replay to a log file. Verified users have *(v)* next to their name. | ||
```download_comments``` **—** When set to true, PyInstaLive will try to download comments from a livestream to a text file. | ||
|
||
```show_cookie_expiry``` **—** When set to True, PyInstaLive will show when the current cookie used to login will expire. | ||
|
||
```log_to_file``` **—** When set to true, PyInstaLive will save all its console logs to a text file. 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 file will be named `pyinstalive.default.log`. | ||
|
||
```ffmpeg_path``` **—** User-defined path to the FFmpeg binary (e.g. `C:\Users\Username\Desktop\ffmpeg.exe`). If left empty, PyInstaLive will fall back to the system's environment variable. | ||
|
||
```run_at_start``` **—** Command to run when PyInstaLive starts downloading a livestream. Leave empty to disable. (Experimental feature) | ||
```cmd_on_started``` **—** Command to run when PyInstaLive starts downloading a livestream. Leave empty to disable. (Experimental feature) | ||
|
||
```run_at_finish``` **—** Command to run when PyInstaLive finishes downloading a livestream. Leave empty to disable. (Experimental feature) | ||
```cmd_on_ended``` **—** Command to run when PyInstaLive finishes downloading a livestream. Leave empty to disable. (Experimental feature) | ||
|
||
```use_locks``` **—** When set to true, PyInstaLive will create several .lock files to prevent duplicate downloads from starting for the same user if you are running PyInstaLive using some form of automation such as batch/shell loops. | ||
|
||
```clear_temp_files``` **—** When set to True, PyInstaLive will delete all temporary files that were downloaded as well as the folders which contained these files. Replay folders created by PyInstaLive will not be deleted because they are used to determine if a replay has already been downloaded. | ||
|
||
```do_heartbeat``` **—** When set to True, PyInstaLive will check the livestream's active status. If set to False no checks will be conducted, and the logged in user will not show up as a viewer during the livestream. May cause degraded performance. | ||
|
||
```proxy``` **—** When set, PyInstaLive will use the specified HTTP proxy. The format should be similar to http://user:[email protected]:12345 | ||
|
||
|
||
```clear_temp_files``` **—** When set to True, PyInstaLive will delete all temporary files that were downloaded as well as the folders which contained these files. Replay folders created by PyInstaLive will not be deleted because they are used to determine if a replay has already been downloaded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.