# .txtundefined

**URL:** <https://forum.seocontentmachine.com/t/txtundefined/307>\
**Category:** support\
**Tags:** youtube-subtitle\
**Created:** [May 29, 2024, 4:11am UTC](https://forum.seocontentmachine.com/t/txtundefined/307 "2024-05-29T04:11:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 29, 2024, 4:11am UTC](https://forum.seocontentmachine.com/t/txtundefined/307/1 "2024-05-29T04:11:20Z")

</div>

## 1. The problem

can’t scrape transcript, saving issue? .txtundefined

## 2. Screenshot or task log of the problem

| 5/29/2024, 11:08:35 AM | — Finished [Copilot PC] — |
| --- | --- |
| 5/29/2024, 11:08:35 AM | (1/1) [https://www.youtube.com/watch?v=aZbHd4suAnQ](https://www.youtube.com/watch?v=aZbHd4suAnQ) |
| 5/29/2024, 11:08:35 AM | 1/1 writing Full Keynote Introducing Copilot+ PCs - 8000.txtundefined |
| 5/29/2024, 11:08:35 AM | 1/1 selected en subtitles for [https://youtu.be/aZbHd4suAnQ](https://youtu.be/aZbHd4suAnQ) |
| 5/29/2024, 11:08:33 AM | Appending 1 youtube ids to cache\youtubeids.txt … |
| 5/29/2024, 11:08:33 AM | Found 1 video |
| 5/29/2024, 11:08:32 AM | Get youtube id aZbHd4suAnQ in en |
| 5/29/2024, 11:08:32 AM | Clearing youtube ids inside cache\youtubeids.txt … |
| 5/29/2024, 11:08:32 AM | — Starting Youtube Sub Scraper [Copilot PC] — |
| 5/29/2024, 11:06:05 AM | — Finished [Copilot PC] — |
| 5/29/2024, 11:06:05 AM | (1/1) [https://www.youtube.com/watch?v=aZbHd4suAnQ](https://www.youtube.com/watch?v=aZbHd4suAnQ) |
| 5/29/2024, 11:06:05 AM | 1/1 writing Full Keynote Introducing Copilot+ PCs.txtundefined |
| 5/29/2024, 11:06:05 AM | 1/1 selected en subtitles for [https://youtu.be/aZbHd4suAnQ](https://youtu.be/aZbHd4suAnQ) |
| 5/29/2024, 11:06:04 AM | Appending 1 youtube ids to cache\youtubeids.txt … |
| 5/29/2024, 11:06:03 AM | Found 1 video |
| 5/29/2024, 11:06:03 AM | Get youtube id aZbHd4suAnQ in en |
| 5/29/2024, 11:06:03 AM | Clearing youtube ids inside cache\youtubeids.txt … |
| 5/29/2024, 11:06:02 AM | — Starting Youtube Sub Scraper [Copilot PC] — |

 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/546c652d9c7466a47c361b2ad9be365db1207e0c.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 29, 2024, 9:48am UTC](https://forum.seocontentmachine.com/t/txtundefined/307/2 "2024-05-29T09:48:55Z")

</div>

Looks like bug.

Fixed in next update

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 29, 2024, 11:22am UTC](https://forum.seocontentmachine.com/t/txtundefined/307/3 "2024-05-29T11:22:38Z")

</div>

It’s working now, thank you Tim.

Question, how to run my prompt for all the subtitles scraped?

Use case, I want to extract key insights etc from each video subtitles (different topics).

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 29, 2024, 11:33am UTC](https://forum.seocontentmachine.com/t/txtundefined/307/4 "2024-05-29T11:33:52Z")

</div>

Would be great also the ability to run prompt (AI Macros) for each scraper, like search & news, wayback, rss, and web crawler.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [May 29, 2024, 12:19pm UTC](https://forum.seocontentmachine.com/t/txtundefined/307/5 "2024-05-29T12:19:18Z")

</div>

You want a generic bulk AI prompt running tool right?

eg: You have a text file of lines and you want to run to run a prompt like ‘find important kewords from these sentences’

or

eg: Bunch of keywords in file and you want to tell AI ‘remove all keywords that are generic, click bait etc’

Something like this?

---

<div class="post-metadata">

**Author:** ![bukit](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/bukit/32/546_2.png) [@bukit](https://forum.seocontentmachine.com/u/bukit)\
**Post date:** [May 29, 2024, 1:28pm UTC](https://forum.seocontentmachine.com/t/txtundefined/307/6 "2024-05-29T13:28:17Z")

</div>

yeah something like that, but not always SEO related.

Basically I want to use prompts in the scraper tools

 ![image](https://forum.seocontentmachine.com/uploads/default/original/1X/fd77fbe86a585629721a3d0f2f0e68dd59277fbf.png)

> [@AI Macros](https://forum.seocontentmachine.com/t/ai-macros/144):
>
> What are AI macros Anything between %macro% are macros inside the AI prompt Appear as purple words Macros are replaced with content before the prompt is sent to the AI eg %keyword% will be replaced with the current article keyword What AI macros are available A list appears when hover over Macro label Scraped content is also available as macros You can also create your own user macros! Why AI macros AI macros allows you to re-use prompts with different keywo…

**Example prompt**

```auto
# IDENTITY and PURPOSE

You are an expert content summarizer. You take content in and output a Markdown formatted summary using the format below.

Take a deep breath and think step by step about how to best accomplish this goal using the following steps.

# OUTPUT SECTIONS

- Combine all of your understanding of the content into a single, 20-word sentence in a section called ONE SENTENCE SUMMARY:.

- Output the 10 most important points of the content as a list with no more than 15 words per point into a section called MAIN POINTS:.

- Output a list of the 5 best takeaways from the content in a section called TAKEAWAYS:.

# OUTPUT INSTRUCTIONS

- Create the output using the formatting above.
- You only output human readable Markdown.
- Output numbered lists, not bullets.
- Do not output warnings or notes—just the requested sections.
- Do not repeat items in the output sections.
- Do not start items with the same opening words.

# INPUT:

INPUT: %scraped_subtitle%

```

So I can make summaries for the youtube videos I don’t have time to watch, read later articles I don’t have time to read, news I don’t have time to follow.

Scrape/dump urls, run summary prompt, and read only the key insights/summaries.

With webhook feature/task scheduler, send the result anywhere I want or email myself.
