Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Transcribe TikTok and Instagram videos to text with Python (Whisper, no API key)

说明与用途

Python脚本利用Apify和Whisper一次性转录TikTok和Instagram视频,返回转录文本和元数据,并可按观看次数对整个账户的视频进行排名。

问题

Short videos on TikTok and Instagram lack transcripts and captions, making it hard to extract spoken content for marketing, feedback, or trend analysis.

结果

The script transcribes TikTok and Instagram videos in under a minute, costs $0.006 per minute of video, and can process entire accounts, producing CSVs with dates, views, likes, and hooks.

工作流

  • Install apify-client and set APIFY_TOKEN
  • Create Apify client instance
  • Call the actor with run_input specifying sources (video URLs) and desired outputs
  • Iterate over dataset items to retrieve transcript and metadata
  • Print or store the transcript and view count
  • For account ranking: call actor with profiles, maxVideosPerProfile, onlyNewVideos, and outputs
  • Iterate over items, extract hook (first sentence), date, views, likes, and write to CSV

证据

TikTok and Instagram don't give you the transcript, and most videos have no captions.

来源

It runs open‑source Whisper and costs $0.006 per minute of video; videos with only music are not charged.

来源

Real output (October 2026): ... tiktok | tiktok | 335,300 views | 1 min ...

来源

  • 记录日期: 2026-10-01T05:08:03.578Z