1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "transcripts": [{
10 "title": "Small Shop Growth podcast, episode 12 (sample)",
11 "transcript": """0:00 Welcome back to the Small Shop Growth podcast. Today we talk about email versus social for a five-person store.
120:09 Quick note before we start: this episode is sponsored by Parcelly, the shipping app that prints labels in one click.
130:17 Use the code GROWTH20 at checkout for twenty percent off your first three months.
140:24 Okay, so my guest runs a candle shop with four employees and about nine thousand customers.
150:32 The thing that surprised me most: she stopped posting on Instagram for a whole quarter.
160:39 And revenue did not drop. It went up eleven percent, because the time went into the newsletter.
170:47 Her open rate sits at forty-two percent, which is roughly double the retail average.
180:55 Honestly, I think most small brands are addicted to likes and it is killing their margins.
191:03 A listener, Maria from Lisbon, asked: how often should I send without annoying people?
201:10 Her answer was once a week, same day, same time, and every email has one clear offer.
211:18 She also tested two subject lines on every send for six months.
221:25 Short subject lines under thirty characters won seventy percent of those tests.
231:33 The worst email she ever sent was a discount nobody asked for. Unsubscribes tripled that day.
241:41 Her rule now: never discount to fix a slow week, fix the product page instead.
251:49 If this helped, subscribe and leave a review, it really helps a small show like ours.
261:56 Next week: how to price handmade products without racing to the bottom.""",
27 }],
28 "find": [
29 "clip_worthy",
30 "claims_statistics",
31 "sponsor_segments",
32 ],
33}
34
35
36run = client.actor("reliable_tools/youtube-transcript-extractor").call(run_input=run_input)
37
38
39print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
40for item in client.dataset(run.default_dataset_id).iterate_items():
41 print(item)
42
43