tiktok-video-detail
TikTok single video detail scraper: input a TikTok video URL → output full video metadata (author profile, engagement stats, music, video meta, hashtags, mentions, slideshow images)
Install / Use
npx skills add browser-act/skills --skill tiktok-video-detailInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OtherSupported Platforms
Our assessment of tiktok-video-detail
tiktok-video-detail scores 87/100 on our quality scale, 39th of 87 Other skills we index (top 45%).
Its SKILL.md is 5.7 KB long, well organised into 13 sections with 2 code examples: a solid amount of guidance for an agent.
With 6,001 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 33 days ago, so tiktok-video-detail is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
tiktok-video-detail compared with similar skills
All 4 of these similar skills score higher than tiktok-video-detail; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| tiktok-video-detail (this skill)by browser-act | 87 | 6.0k | 33d ago | SKILL.md |
| LocalAIby mudler | 100 | 49.3k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 4d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 4d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install tiktok-video-detail?
- Run
npx skills add browser-act/skills --skill tiktok-video-detail. The install tabs above show the steps for each supported agent. - Which AI agents does tiktok-video-detail work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is tiktok-video-detail safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is tiktok-video-detail still maintained?
- The repository was last updated 33 days ago, so tiktok-video-detail is actively maintained.
Skill content
View source on GitHubname: tiktok-video-detail description: "TikTok single video detail scraper: input a TikTok video URL → output full video metadata (author profile, engagement stats, music, video meta, hashtags, mentions, slideshow images). Use when user mentions TikTok video detail, get TikTok video data, extract TikTok video metadata, scrape single TikTok video, TikTok video info, extract single TikTok video info, TikTok single video collection, tiktok video scraper, tiktok video url scraper. Also applies to batch URL processing (given a list of TikTok video URLs, extract metadata for each), verifying specific video stats, or archiving individual TikTok posts with full metadata."
TikTok — Video Detail
TikTok video URL → full video metadata
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract complete metadata for a specific TikTok video by reading the SSR-embedded __UNIVERSAL_DATA_FOR_REHYDRATION__ data from the video detail page.
Prerequisites
- Browser is open and can access
https://www.tiktok.com - No login required for public videos
- Browser must use a non-HK proxy (TikTok has shut down in Hong Kong)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
DOM: Extract video detail from SSR data
TikTok embeds full video metadata in a <script id="__UNIVERSAL_DATA_FOR_REHYDRATION__"> tag on every video detail page. No API call needed — data is available immediately after page load:
navigate {video_url}— e.g.,https://www.tiktok.com/@marcusriosofficial/video/7212410220977392938wait stableeval "$(python scripts/extract-video-detail.py)"
Output example:
{
"id": "7212410220977392938",
"text": "Daily Push Up Workout🚀#fitness #athlete #strength",
"textLanguage": "en",
"createTime": "1679270124",
"createTimeISO": "2023-03-19T23:55:24.000Z",
"isAd": false,
"isPinned": false,
"isSponsored": false,
"isSlideshow": false, // true for photo/slideshow posts
"locationCreated": "US",
"webVideoUrl": "https://www.tiktok.com/@marcusriosofficial/video/7212410220977392938",
"mediaUrls": [],
"authorMeta": {
"id": "6803405475100181510",
"name": "marcusriosofficial", // uniqueId / username
"nickName": "Marcus Rios",
"profileUrl": "https://www.tiktok.com/@marcusriosofficial",
"verified": false,
"signature": "Former NFL Athlete 🏈\n📧marcusriosofficial@gmail.com",
"bioLink": null,
"avatar": "https://...",
"privateAccount": false,
"fans": 423500,
"following": 50,
"heart": 10000000,
"video": 1277,
"digg": 869
},
"musicMeta": {
"musicId": "7176546707423889410",
"musicName": "Trap Money so Big (Remix)",
"musicAuthor": "Iqbal12",
"musicOriginal": false,
"coverMediumUrl": "https://..."
},
"videoMeta": {
"height": 1280,
"width": 720,
"duration": 48,
"coverUrl": "https://...",
"definition": "720p",
"format": "mp4"
},
"diggCount": 367500,
"shareCount": 6041,
"playCount": 4500000,
"collectCount": 56691,
"commentCount": 942,
"hashtags": [
{"id": "9261", "name": "fitness"},
{"id": "39142", "name": "athlete"}
],
"mentions": [],
"effectStickers": [],
"slideshowImageLinks": [] // populated for slideshow/photo posts
}
Error response (video deleted or unavailable):
{"error": true, "message": "__UNIVERSAL_DATA_FOR_REHYDRATION__ not found — ensure you are on a TikTok video page"}
Pagination
Not applicable — this capability extracts a single video per URL.
Success Criteria
id is non-null, diggCount >= 0, authorMeta.name is non-null, videoMeta.duration > 0
Known Limitations
- Requires non-HK proxy (TikTok shut down in Hong Kong)
- Deleted or private videos return an error (SSR data contains non-zero statusCode)
collectCountmay be returned as a string in the SSR data — parse withparseInt()if neededauthorMeta.heart(total likes) may be truncated for very large accounts;authorStats.heartfrom the SSR itemStruct is the authoritative source- Video download URLs (
playAddr,downloadAddr) are present in the SSR data but expire quickly — extract and use them immediately if needed
Execution Efficiency
- Batch URL processing: Write a bash loop to navigate to each video URL, eval the extraction script, and save results. Add 1–2s between navigations.
- Test before batch execution: Test with 1 URL first to confirm the script works, then run the full list.
- Error resumption: Save results URL-by-URL; resume from the failed URL on error.
Experience Notes
Path: {working-directory}/browser-act-skill-forge-memories/tiktok-scraper-tiktok-video-detail.memory.md
Before execution: If the file exists, read it first — it records unexpected situations from past executions; adjust strategy accordingly.
After execution: If an unexpected situation occurs (strategy failed, page redesigned, anti-scraping upgraded, better path found), append a line:
{YYYY-MM-DD}: {what happened} → {conclusion}
Normal execution does not write to the file.
Related Skills
LocalAI
49.3kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
