Michele0303 / tiktok-live-recorder

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

Unable to find Stream url #113

Open OperationJosef opened 4 months ago

OperationJosef commented 4 months ago

F:\tiktok-live-recorder-main>python3 main.py -user some_TikTok_USER


| () || || | | | () __ | _ _ | |_ | | | | / / | |/ _ \ / / | || \ V / -) | / -) / \ '/ ` / -) '| || ||_\ ||_/_\ |____||_/_| ||____/| _,\|_|

V4.1

[] 2024-03-17 22:39:09 - INFO - USERNAME: some_TikTok_USER [] 2024-03-17 22:39:09 - INFO - ROOM_ID: some_TikTok_USER [] 2024-03-17 22:39:13 - ERROR - 'stream_url' [] 2024-03-17 22:39:13 - ERROR - Exception caught in main: [-] Unable to find stream url.

F:\tiktok-live-recorder-main>


When I want to record streams that have an age rating, I get an error message.

All other streams that do not have an age rating have worked so far.

How can I get around this?

It's also the case that no matter how many times I uninstall and install ffmpeg it never recognizes it, which I don't care about for now TTLiverecord TTLiverecord-AgeRating-Error

OperationJosef commented 4 months ago

The picture where the error occurs : "ffmpeg is not installed" seems to be not resolvable for now but without automatic mode and -fffmpeg attribute its working and actually recording.

The picture with "unable to find stream url" seems to have problems to access streams which are adult rated for example many gaming streamers who stream adult games like elden ring etc...

nlienard commented 4 months ago

The solution is to login at first. how to auth with this script ?

sotero1113 commented 3 months ago

This can happen when the user enters a stream of another user(when 2 users are split streaming), the room_id that we fetch from the user page isnt updated and is out of date since they're in a new room so when we try to pull the stream url from the response it no longer exist since the user is technically in a new room

Michele0303 commented 1 week ago

This can happen when the user enters a stream of another user(when 2 users are split streaming), the room_id that we fetch from the user page isnt updated and is out of date since they're in a new room so when we try to pull the stream url from the response it no longer exist since the user is technically in a new room

I will work on this in the next version