Skip to content

feat(tiktok): add search adapter - #39

Open
LeanAgents wants to merge 1 commit into
epiral:mainfrom
LeanAgents:feat-tiktok-search
Open

feat(tiktok): add search adapter#39
LeanAgents wants to merge 1 commit into
epiral:mainfrom
LeanAgents:feat-tiktok-search

Conversation

@LeanAgents

Copy link
Copy Markdown

Summary

Adds TikTok search adapter to bb-sites.

Features

  • Search videos by keyword on TikTok
  • Returns structured video data including:
    • Video ID, description, and URL
    • Author information (username, display name, avatar)
    • Video metadata (duration, dimensions, cover/play URLs)
    • Engagement stats (plays, likes, comments, shares)
    • Music information
    • Hashtags

Example Usage

bb-browser site tiktok/search "AI agent" --count 10

API Details

  • Endpoint: /api/search/general/full/
  • Method: GET with credentials
  • Auth: Cookie-based (works with logged-in browser)

Test plan

  • Adapter returns valid JSON
  • Search results include video metadata
  • Author info is correctly extracted
  • Hashtags are parsed from video descriptions

Adds TikTok search adapter that:
- Searches videos by keyword
- Returns structured video data including:
  - Video ID, description, URL
  - Author information (username, display name, avatar)
  - Video metadata (duration, dimensions, cover images, play URL)
  - Engagement stats (plays, likes, comments, shares)
  - Music information
  - Hashtags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant