nanogpt-tiktok

Installation
SKILL.md

NanoGPT TikTok Scraper

Scrape TikTok content via NanoGPT's managed TikTok scraper (POST /api/v1/tiktok). Supports four source modes: hashtags, profiles, keyword search, and direct video URLs.

Prerequisites

  • NanoGPT API key in ~/.config/nanogpt/.env (NANOGPT_API_KEY=sk-nano-...) or NANOGPT_API_KEY env var
  • curl or requests Python library

Script

A convenience CLI is at scripts/scrape_tiktok.py — handles API key loading, payload building, and formatted output.

# Scrape by video URL with transcript
./scripts/scrape_tiktok.py --urls "https://www.tiktok.com/t/ZTkngGoyg/" --max-charge 0.60

# Scrape with transcript fetch
./scripts/scrape_tiktok.py --urls "https://www.tiktok.com/t/ZTkngGoyg/" --show-transcript
Installs
2
GitHub Stars
11
First Seen
Jun 3, 2026