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

CMD windows closing on it's own #65

Closed Sullyscharger closed 1 year ago

Sullyscharger commented 1 year ago

Hi, so I've been using this program for a while and have set up .bat files to make it easier for me to record lives everything was going fine until recently, I found that the .bat windows would close after an amount of time which never happened before as I would be running the files overnight. Any one have any ideas? At first I thought that I may be running too many at a time so I reduced it to 5 windows but even still the issue persists. Any help would be much appreciated!

Michele0303 commented 1 year ago

Try inserting

pause

At the end of your bat file, so it won't close when finished and you can understand the error, if any

Sullyscharger commented 1 year ago

("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) 'stream_url' [-] Unable to find stream url.

is the error I get after a while, it waits and records fine but then after some time that is what pops up then the script stops working.

Sullyscharger commented 1 year ago

Ok seem to have found a work around, probably obvious but all i did was input :start then the script on the second line and on the third just made it loop back so "goto start"