Newsletter creators spend hours watching videos to summarize and reference them. Curating video content for email newsletters requires watching, note-taking, and manual writing. This limits the volume and quality of video-based content you can include.
YouTubeTranscripts.co extracts the full text of any YouTube video in seconds. Feed the transcript into an LLM to generate summaries, key takeaways, and formatted newsletter sections automatically. Curate video content at 10x the speed.
import httpx
from openai import OpenAI
API_KEY = "YOUR_API_KEY"
# Get transcript
resp = httpx.get(
"https://api.youtubetranscripts.co/v1/transcript",
params={"url": "https://youtube.com/watch?v=VIDEO_ID", "format": "text"},
headers={"x-api-key": API_KEY},
)
video = resp.json()
# Generate newsletter section
client = OpenAI()
section = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "system", "content": "Create a newsletter section from this video transcript. Include: a catchy headline, 2-3 sentence summary, 3 key takeaways as bullet points, and a call-to-action to watch the video."},
{"role": "user", "content": f"Video: {video['title']}\nChannel: {video['channel']}\n\n{video['text']}"},
],
)
print(section.choices[0].message.content)Convert video content to newsletter format in seconds
Generate summaries and key takeaways with AI
Curate 10x more video content per newsletter
Include accurate quotes from video transcripts
Batch process multiple videos for weekly roundups
Link back to videos with specific timestamps
Sign up in 30 seconds and get 150 free API requests. No credit card required. Start building your newsletter content solution today.