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). 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.
What this skill does
# 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 via `eval "$(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:
1. `navigate {video_url}` — e.g., `https://www.tiktok.com/@marcusriosofficial/video/7212410220977392938`
2. `wait stable`
3. `eval "$(python scripts/extract-video-detail.py)"`
Output example:
```json
{
"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📧[email protected]",
"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):
```json
{"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)
- `collectCount` may be returned as a string in the SSR data — parse with `parseInt()` if needed
- `authorMeta.heart` (total likes) may be truncated for very large accounts; `authorStats.heart` from 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 in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".