mcpbeat Sign in

Tiktok Hashtag Videos Skill for Cursor

TikTok hashtag video scraper: input a hashtag name → output paginated video list with full metadata (author profile, engagement stats, music, video meta, hashtag list). Use when user mentions TikTok hashtag scraping, TikTok tag videos, scrape TikTok by hashtag, extract TikTok hashtag data, TikTok challenge videos, get videos from a TikTok tag, bulk collect TikTok hashtag posts, TikTok video collection by tag, TikTok topic videos, collect TikTok tag data, batch fetch TikTok videos by hashtag, tiktok tag scraper, tiktok challenge scraper. Also applies to competitive research on TikTok trending topics, influencer discovery by hashtag, content monitoring for specific TikTok tags, or any task requiring video lists from a specific TikTok hashtag or challenge.

2k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
5133
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/browser-act/skills --skill tiktok-hashtag-videos

What comes with it

1 026 bytes besides the instruction
scripts/get-challenge-id.py

What it tells the agent to use

found in the instruction text
Bash runs shell commands — read the instruction before connecting

The instruction itself

16 sections, as written by the author

TikTok — Hashtag Videos

> hashtag name → challenge info + paginated video list with author, engagement, music, and video metadata

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Extract the video list for a given TikTok hashtag using the /api/challenge/item_list/ endpoint triggered by page navigation.

Prerequisites

  • Browser is open and can access https://www.tiktok.com
  • No login required for public hashtag data
  • 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.

Below are all atomic capabilities discovered and verified during the exploration phase. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify.

API: Get challenge ID from hashtag name

eval "$(python scripts/get-challenge-id.py '{hashtag}')"

Parameters:

  • {hashtag}: hashtag name without #, e.g., fitness

Output example:

{
  "id": "9261",             // challengeID — required for item_list requests
  "title": "fitness",       // canonical hashtag title
  "videoCount": "63107035", // total videos under this hashtag
  "viewCount": "760591731095" // total views
}

Network Capture: Hashtag video list (parameters injected via URL navigation)

/api/challenge/item_list/ requires TikTok's dynamic signing (X-Bogus/X-Gnarly); direct fetch returns empty. Navigate to the hashtag page — TikTok's JS triggers the signed request automatically:

  • navigate https://www.tiktok.com/tag/{hashtag}
  • wait stable
  • network requests --type xhr,fetch --filter "challenge/item_list"
  • network request <id>

Endpoint characteristic: URL contains /api/challenge/item_list/ with cursor=0

Error handling: If no matching request is found after navigation, take a screenshot to confirm the page loaded correctly, then retry navigation once. If the page shows a region-restriction notice, switch to a browser with a non-HK proxy.

Output example:

{
  "cursor": "30",   // use as cursor value to identify next page's request
  "hasMore": true,  // false when all pages exhausted
  "itemList": [
    {
      "id": "7212410220977392938",
      "desc": "Daily Push Up Workout🚀#fitness #athlete",
      "createTime": 1679270124,
      "isAd": false,
      "isPinned": false,
      "locationCreated": "US",
      "author": {
        "uniqueId": "marcusriosofficial",  // username for webVideoUrl
        "nickname": "Marcus Rios",
        "verified": false,
        "signature": "Former NFL Athlete 🏈",
        "bioLink": null,
        "avatarThumb": "https://...",
        "privateAccount": false
      },
      "authorStats": {
        "followerCount": 423500,
        "followingCount": 50,
        "heart": 10000000,
        "videoCount": 1277,
        "diggCount": 869
      },
      "stats": {
        "diggCount": 367500,
        "shareCount": 6041,
        "playCount": 4500000,
        "commentCount": 942,
        "collectCount": 56691
      },
      "video": {
        "duration": 48,
        "height": 1280,
        "width": 720,
        "cover": "https://...",
        "definition": "720p",
        "format": "mp4"
      },
      "music": {
        "id": "7176546707423889410",
        "title": "Trap Money so Big (Remix)",
        "authorName": "Iqbal12",
        "original": false,
        "coverMedium": "https://..."
      },
      "textExtra": [{"hashtagId": "9261", "hashtagName": "fitness"}],
      "effectStickers": [],
      "imagePost": null  // non-null for slideshow posts
    }
  ]
}

Network Capture: Hashtag video list pagination (page 2+)

After reading page 1, scroll down to trigger the next page request:

  • scroll down
  • wait stable
  • network requests --type xhr,fetch --filter "challenge/item_list"
  • Find the request whose URL contains a cursor value higher than the previous page (e.g., cursor=30, cursor=60)
  • network request <id>

Termination: hasMore is false in response, or itemList is empty.

Composite: Full hashtag extraction (challenge ID + paginated video list)

  • eval "$(python scripts/get-challenge-id.py '{hashtag}')" → record id as challengeId (confirms hashtag exists)
  • navigate https://www.tiktok.com/tag/{hashtag}wait stable
  • network requests --filter "challenge/item_list"network request <id> → collect itemList, note cursor and hasMore
  • While hasMore is true:

a. scroll downwait stable

b. network requests --filter "challenge/item_list" → find new request (cursor changed) → network request <id>

c. Collect itemList, update hasMore

  • Merge all collected itemList arrays

Pagination

DOM Pagination: Scroll triggers new challenge/item_list requests. Each page returns 30 items. Cursor advances numerically (0 → 30 → 60...). Termination: hasMore === false or empty itemList.

Success Criteria

itemList.length >= 1 and first item has non-null id, stats.playCount, author.uniqueId

Known Limitations

  • Requires non-HK proxy (TikTok shut down in Hong Kong)
  • challenge/item_list requires dynamic signing — always use navigate + network capture
  • get-challenge-id.py (challenge/detail) works via direct fetch without signing
  • Private or age-restricted hashtags may return empty itemList
  • Page returns ~30 videos per scroll; high-volume extraction requires many scroll iterations

Execution Efficiency

  • Batch orchestration: Loop through multiple hashtags serially in one session; do not parallelize within one browser. Add 2–3s intervals between navigations.
  • Test before batch execution: Test with 1 hashtag first, then run the full batch.
  • Error resumption: Save results page-by-page; resume from the last successful page on failure.

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/tiktok-scraper-tiktok-hashtag-videos.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.

Other skills for the same job

different authors, same section of the catalogue
Product Reel Generator
by gooseworks-ai

Generates Instagram-ready product reels from any e-commerce product page URL. Scrapes product images, classifies by type, generates AI-animated clips via Higgsfield API, creates text overlays with style presets, and composes a 15-20 second reel with music. Supports model-based and product-only reels.

4k tokens scripts
Podcast Transcript Fetcher
by Varnan-Tech

Use when fetching, searching, or analyzing transcripts from Lenny's Podcast, Dwarkesh Podcast, Cheeky Pint, 20VC, or A16z Podcast. Tier 2 (RSS+Groq Whisper) is the recommended approach -- fast, free, and most reliable. Also use when asked to "get transcript", "find episode", "summarize podcast", or "search podcast content". Do not use for general web scraping or non-podcast audio transcription.

20k tokens scripts
Comfyui Launch Flags
by artokun

Pick the right ComfyUI startup flags for VRAM, attention, caching, and speed — the full decision matrix for OOM (--novram / --cache-none / --disable-smart-memory), shared-VRAM creep on Windows (--reserve-vram N), model-switching with big text encoders (--cache-none), high-VRAM throughput (--gpu-only / --highvram), and attention-backend selection (--use-sage-attention for speed, --use-pytorch-cross-attention as the highest-quality / Z-Image-safe fallback). Also the acceleration-stack + Blackwell/RTX 5000 (sm_120) notes. Use when a graph OOMs (especially long video like LTX 2 / WAN), when the GPU spills into shared VRAM and slows to a crawl, when switching between models eats all RAM, when Z-Image produces black/garbled output under Sage, or when deciding which attention backend to launch with. Flag names verified against upstream comfy/cli_args.py — see Sources.

3k tokens
Gallery Scraper
by jdrhyne

Bulk download images from login-protected gallery websites using an attached browser session. Use when asked to scrape, download, or save images from authenticated gallery pages, extract full-size images from thumbnails, or batch download from multi-page galleries.

3k tokens scripts
Yandex Webmaster
by artwist-polyakov

| сайтмапы, переобход, ссылки, фиды, диагностика. Плюс scraping раздела Alice / Share of Voice (нет публичного API). вебмастер индексация, вебмастер запросы, вебмастер переобход, share of voice, sov, алиса, alice efficiency, конкуренты в алисе.

34k tokens scripts ru
Image Scraper
by aAAaqwq

Scrape and download all images from a given URL. Takes a URL, extracts image URLs from the page, and downloads them. Uses python3/curl as primary method, falls back to browser automation if needed. Use when user provides a URL and wants to download images from that page.

2k tokens scripts
Rehab Estimator
by miron-tech

Generate a photo-based rehab estimate for any property. Accepts photos from listing sites (Redfin/Zillow via Chrome), a local folder on your computer, or a shared Google Drive link. Use when a wholesaler needs repair cost estimates before making an offer, building a deal package, or validating their numbers. Grades property condition across 6 zones using the R.E.H.A.B.+F scoring framework and produces three-scenario rehab budgets (rental-ready, mid-range flip, full worst-case). Uses Chrome MCP for Redfin photo browsing, Perplexity for local contractor costs, and Firecrawl for finding listing URLs.

11k tokens
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens

How to use it

Copy the folder

Take browser-act/tiktok-hashtag-videos from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.