Michele0303 / tiktok-live-recorder

🎥✨ A TikTok live streaming recorder tool written in Python. Capture and relive your favorite TikTok moments effortlessly. 🎥✨
MIT License
370 stars 102 forks source link

[Tutorial] How to login on cookies #131

Open DraganVictor14 opened 1 month ago

DraganVictor14 commented 1 month ago

How to use cookies to login?

IMG_20240720_090838

Hannahkaraibombai commented 1 month ago

I actually don't know how to do that. What's that i need to put on cookies python file?

Naderrnawar commented 1 month ago

I think this message because live is restricted

devinbaeten commented 1 month ago

Login to TikTok on the web and then launch devtools, locate the cookie called sessionid_ss and paste the value into the cookies.json file.

Xerekros commented 1 month ago

Even after updating the two cookies in the cookies.json file, the error still persists. Any ideas?

Michele0303 commented 1 month ago

Even after updating the two cookies in the cookies.json file, the error still persists. Any ideas?

Are you sure the session has not expired? Consequently, the cookie value has changed

Xerekros commented 1 month ago

Cookie used expires Feb 02, 2025. Attempted values acquired from Edge, Firefox and Chrome.

Edit: Might be resolved... it didn't work at all during the same stream but after the user restarted it seemed to start normally.

Edit 2: issue persists