mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
4391ccfcb8
* feat(tiktok): add TikTok adapter with 15 commands TikTok (15 commands, browser mode): Read commands: - profile: user profile info via rehydration script parsing - search: search videos via internal search API - explore: trending videos from explore page (DOM scraping) - user: recent videos from a user page (DOM scraping) - following: list accounts you follow - friends: friend suggestions - live: browse live streams with viewer counts - notifications: activity notifications Write commands (verified with real interactions): - like/unlike: like or unlike a video by URL - save/unsave: add or remove video from Favorites - follow/unfollow: follow or unfollow a user - comment: comment on a video All write operations verified with live TikTok interactions. * docs: add missing adapter documentation for doc-coverage CI
1.9 KiB
1.9 KiB
TikTok
Mode: 🔐 Browser · Domain: tiktok.com
Commands
| Command | Description |
|---|---|
opencli tiktok profile |
Get user profile info |
opencli tiktok search |
Search videos |
opencli tiktok explore |
Trending videos from explore page |
opencli tiktok user |
Get recent videos from a user |
opencli tiktok following |
List accounts you follow |
opencli tiktok friends |
Friend suggestions |
opencli tiktok live |
Browse live streams |
opencli tiktok notifications |
Get notifications |
opencli tiktok like |
Like a video |
opencli tiktok unlike |
Unlike a video |
opencli tiktok save |
Add to Favorites |
opencli tiktok unsave |
Remove from Favorites |
opencli tiktok follow |
Follow a user |
opencli tiktok unfollow |
Unfollow a user |
opencli tiktok comment |
Comment on a video |
Usage Examples
# View a user's profile
opencli tiktok profile --username tiktok
# Search videos
opencli tiktok search --query "cooking" --limit 10
# Trending explore videos
opencli tiktok explore --limit 20
# Browse live streams
opencli tiktok live --limit 10
# List who you follow
opencli tiktok following
# Friend suggestions
opencli tiktok friends --limit 10
# Like/unlike a video
opencli tiktok like --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unlike --url "https://www.tiktok.com/@user/video/123"
# Save/unsave (Favorites)
opencli tiktok save --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unsave --url "https://www.tiktok.com/@user/video/123"
# Follow/unfollow
opencli tiktok follow --username nasa
opencli tiktok unfollow --username nasa
# Comment on a video
opencli tiktok comment --url "https://www.tiktok.com/@user/video/123" --text "Great!"
# JSON output
opencli tiktok profile --username tiktok -f json
Prerequisites
- Chrome running and logged into tiktok.com
- Browser Bridge extension installed