Skip to contents

[Works on: Unofficial API]

Get all videos posted by a TikTok user.

Usage

tt_user_videos_hidden(
  username,
  solve_captchas = FALSE,
  return_urls = FALSE,
  timeout = 5L,
  ...
)

Arguments

username

The username of the TikTok user whose hidden videos you want to retrieve.

solve_captchas

open browser to solve appearing captchas manually.

return_urls

return video URLs instead of downloading the vidoes.

timeout

time (in seconds) to wait between scrolling and solving captchas.

...

Additional arguments to be passed to the tt_videos_hidden function.

Value

A list of video data or URLs, depending on the value of return_urls.

Details

This function uses rvest to scrape a TikTok user's profile and retrieve any hidden videos.

Examples

if (FALSE) { # \dontrun{
# Get hidden videos from the user "fpoe_at"
tt_user_videos_hidden("fpoe_at")
} # }