Video Crawler

根据关键词搜索并抓取短视频平台热门短视频

Video Crawler

AI-generated

Summary

Searches Douyin for videos by keyword with optional filters, returning video metadata; optionally attempts to download the videos.

Inputs

  • searchKeywords (required) — Keyword to search for videos
  • sortBy — Sort order of results: general, newest, most_liked
  • releaseTime — Publish time range: all, 1day, 1week, 6month
  • videoDuration — Video duration filter: all, under1, 1to5, over5
  • searchScope — Search scope: all, following, watched, unwatched
  • quantity (required) — Number of videos to fetch (must be a multiple of 4)
  • isDownload — Whether to download videos to the specified folder
  • downloadFolderPath — Folder where videos will be saved (only effective if isDownload is true)
  • options.headless — Run browser in headless mode
  • options.timeout — Page load timeout in milliseconds
  • options.scrollTimes — Number of page scrolls to load more videos

Output shape

Each input item produces quantity output items, each containing video metadata: title, author, authorUrl, videoUrl, coverUrl, likeCount, commentCount, shareCount, duration, publishTime, description.

The download feature logs a warning that external implementation is required to resolve video URLs, so files may not actually be saved.

Discussion