frankvHoof93 / TikTokLiveSharp

Port of TikTok live library for C#
https://vanhoof.dev
Other
149 stars 31 forks source link

LiveNotFoundException: Could not find Room [BUG] #74

Open victorocs opened 5 months ago

victorocs commented 5 months ago

I try to connect to a host by their ID User, but this error is show in console:

LiveNotFoundException: Could not find Room

NiZe75 commented 5 months ago

same here some work some not

frankvHoof93 commented 5 months ago

18+-rooms and 'protected'/'privated' rooms will often not be able to connect by ID. This is because the library attempts to scrape the HTML for the page for the RoomID. For these specific rooms, the page requires logging in in order to get this info.

If you can, try to grab the RoomID from the HTML yourself (search for 'room_id='). You can use that to connect with instead.