Skip to content

FetchUserUniqueIdRoute

Route to retrieve the room ID for a user

Route to retrieve the room ID for a user

class FetchUserUniqueIdRoute(ClientRoute)
  • APP_INFO_PATTERN (re.Pattern)

Parse the room ID from livestream HTML

@classmethod
def parse_app_info(html: str) -> str

str — The unique_id of a User ID

from TikTokLive.client.web.routes.fetch_user_unique_id import FetchUserUniqueIdRoute

TikTokLive/client/web/routes/fetch_user_unique_id.py:27