- ```-u``` or ```--username``` **—** Instagram username to login with. Requires: ```--password```, ```--record```.
- ```-p``` or ```--password``` **—** Instagram password to login with. Requires: ```--username```, ```--record```.
- ```-r``` or ```--record``` **—** The username of the user whose livestream or replay you want to save.
- ```-i``` or ```--info``` **—** When this flag is passed, PyInstaLive will show information such as its current version, the configuration file contents, available cookie files and more.
- ```-nr``` or ```--noreplays``` **—** When this flag is passed, PyInstaLive will not check for any available replays. Overrides the configuration file.
# Default configuration file
ini
[pyinstalive] username = johndoe password = grapefruits save_path = show_cookie_expiry = true clear_temp_files = false save_replays = true run_at_start = run_at_finish = save_comments = false
username``` — Instagram username to login with.
save_path``` — Path to the folder where downloaded Instagram livestreams and replays will be saved. (Requires write permissions)
clear_temp_files``` — When set to True, PyInstaLive will delete all temporary files that were downloaded. Folders created by PyInstaLive will not be deleted.
run_at_start``` — Python script to run when PyInstaLive starts recording a livestream. (Experimental, use at own risk.)
save_comments``` — When enabled, 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.)