Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to extract Firefox cookies and make username.json manually? #168

Open
yuyoiuyoiu opened this issue Jul 2, 2024 · 6 comments

Comments

@yuyoiuyoiu
Copy link

yuyoiuyoiu commented Jul 2, 2024

I've been having trouble logging into a new Instagram account with PyInstaLive recently, but the old non-expired JSON files still work well.
Does anyone know how to extract cookies from Firefox to make a username.json manually for PyInstaLive?

[W] Unable to find cookie file: username.json
[I] Creating a new one.
[E] Could not login: {"message":"Please wait a few minutes before you try again.","require_login":true,"status":"fail"}

using PyInstaLive v3.2.4

@samuelchristlie
Copy link

I made a fork that allows Netscape cookies to be loaded from a .txt file instead of the .dat file. I use this plugin to extract the cookies. Let me know if you have any issues running it

@Milor123
Copy link

I made a fork that allows Netscape cookies to be loaded from a .txt file instead of the .dat file. I use this plugin to extract the cookies. Let me know if you have any issues running it

Thank u very much man, i will test it !!

@kdurov
Copy link

kdurov commented Aug 21, 2024

@samuelchristlie Thank you for the fork. Unfortunately I still can't record live stream with it.
.dat file can be generated normally with cookies file but nothing can be downloaded. Instagram instantly shut down the access

[I] Livestream available, starting download.
---------------------------------------------------------------------------
[I] Downloading livestream, press [CTRL+C] to abort.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
[E] The livestream host has possibly lost connection with Instagram.
---------------------------------------------------------------------------
[I] The livestream has been ended.
---------------------------------------------------------------------------
[I] Airing time  : 2 minutes and 19 seconds
[I] Downloaded   : 0 minute and 1 seconds
[I] Missing      : 2 minutes and 18 seconds

only an empty folder is added.

@samuelchristlie
Copy link

@kdurov That's a separate issue, I'm currently working on it. Could you please create an issue on my fork?

@samuelchristlie
Copy link

samuelchristlie commented Aug 22, 2024

I'll keep you guys updated, next release should fix both this issue and #161 :)

Edit: Should work fine now

@Milor123
Copy link

@samuelchristlie Thank u very much, I will open issue in your fork if found some problem! I haven't tried your code yet, but I'm sure I will try it in the next few days, thanks for your effort. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants