Open kdurov opened 3 weeks ago
Thank you @samuelchristlie It seems that this issue is fixed now
Could you please add an explicit directive in pyinstalive.ini config for cookies file's path? For security reason I don't want to put cookie files in the same directory of pyinstalive.ini and recorded stream files. Cookies files can no longer be limited to .txt extension as well. Something like
[pyinstalive]
username = johndoe
password = grapefruit
dat_path =
cookies_path =
download_path =
ffmpeg_path =
download_comments = True
cmd_on_started =
cmd_on_ended =
clear_temp_files = False
use_locks = True
no_assemble = False
log_to_file = True
Thanks
You should be able to specify session_file
(.dat files) and cookies_file
(.txt filse) now.
[pyinstalive]
username = johndoe
password = grapefruits
session_file = ../sessions/johndoe.dat
cookies_file = ../cookies/johndoe.txt
download_path = {:s}
download_comments = True
clear_temp_files = True
cmd_on_started =
cmd_on_ended =
ffmpeg_path =
log_to_file = True
no_assemble = False
use_locks = True
send_heartbeat = True
proxy =
You should be able to use any file extensions, but I haven't tested it with other cookies format.
Thanks again for the update.
session_file = ../sessions/johndoe.dat
cookies_file = ../cookies/johndoe.txt
I tested latest commit and here's what I found.
.
and ..
However, home directory's ~
or $HOME
aren't supported yet. [E] Could not validate the configuration file: No option 'username' in section: 'pyinstalive'
[E] Ensure the configuration file and given arguments are valid and try again.
Nothing serious but hopefully pyinstalive can be more user friendly with these improvements. Thanks.
I'll try to fix the additional cookie feature first before fixing the core features.
What format of cookies are you using?
I'm using netscape format which is the only accepted format. I'm not against this but the README is kind of confusing
To load JSON cookies to PyInstaLive, create a username.txt file containing the Netscape-formatted cookies
(The template is too outdated so I deleted them all)
Thanks for the fork. Unfortunately I still can't record live stream with lastest fork (pyinstalive-4.0.3b0-py3-none-any.whl size=25343 sha256=a4946df7daf2fba010a30f2ef58b99db7bdd02350e074f26f78345a01093535e) .dat file can be generated normally with cookies file but nothing can be downloaded. Instagram instantly shut down the access
only an empty folder is added.
It's kinda hard to do testing cuz there is no easy find to find currently live account.