From 248d6a24e27b6958a7e462aa1742cbdc5727a654 Mon Sep 17 00:00:00 2001 From: rbennett00 <148656627+rbennett00@users.noreply.github.com> Date: Wed, 18 Feb 2026 19:05:20 -0800 Subject: [PATCH 1/2] Add new template for YouTube that removes timestamps from transcript for cleaner output --- .../youtube-transcript-without-timestamp.json | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 templates/youtube-transcript-without-timestamp.json diff --git a/templates/youtube-transcript-without-timestamp.json b/templates/youtube-transcript-without-timestamp.json new file mode 100644 index 0000000..b4ca10a --- /dev/null +++ b/templates/youtube-transcript-without-timestamp.json @@ -0,0 +1,63 @@ +{ + "schemaVersion": "0.1.0", + "name": "YouTube with transcript", + "behavior": "create", + "noteContentFormat": "## About\n\ntype:: #type/video/youtube/new\n\n![{{title}}]({{schema:@VideoObject:embedUrl|replace:\"embed/\":\"watch?v=\"}})\n\n## Description\n\n{{schema:@VideoObject:description}}\n\n## Notes\n\nYT=\n\n\n## Transcript\n\n{{selectorHtml:.segment-text|first|replace:\" \":\" \"|join:" "|markdown}}", + "properties": [ + { + "name": "created", + "value": "{{time|date:\\\"YYYY-MM-DDTHH:mm:ssZ\\\"}}", + "type": "datetime" + }, + { + "name": "reviewed", + "value": "", + "type": "datetime" + }, + { + "name": "url", + "value": "{{schema:@VideoObject:embedUrl|replace:\\\"embed/\\\":\\\"watch?v=\\\"}}", + "type": "text" + }, + { + "name": "title", + "value": "{{schema:@VideoObject:name}}", + "type": "text" + }, + { + "name": "channel", + "value": "{{schema:@VideoObject:author}}", + "type": "text" + }, + { + "name": "related", + "value": "[[Videos]]", + "type": "multitext" + }, + { + "name": "published", + "value": "{{schema:@VideoObject:uploadDate|date:\\\"YYYY-MM-DD\\\"}}", + "type": "datetime" + }, + { + "name": "thumbnailUrl", + "value": "{{schema:@VideoObject:thumbnailUrl|first}}", + "type": "text" + }, + { + "name": "duration", + "value": "{{schema:@VideoObject:duration|replace:\\\"PT\\\",\\\"\\\",\\\"S\\\",\\\"\\\"}}", + "type": "text" + }, + { + "name": "watched", + "value": "", + "type": "text" + } + ], + "triggers": [ + "https://www.youtube.com/watch" + ], + "noteNameFormat": "{{schema:@VideoObject:uploadDate|date:\"YYYY-MM-DD\"}} VIDEO {{schema:@VideoObject:author}} - {{schema:@VideoObject:name|safe_name|trim}}", + "path": "" +} \ No newline at end of file From 83cb781de4b3320a34c913e81e909885d1282bc4 Mon Sep 17 00:00:00 2001 From: rbennett00 <148656627+rbennett00@users.noreply.github.com> Date: Thu, 19 Feb 2026 17:37:23 -0800 Subject: [PATCH 2/2] Updated template name --- templates/youtube-transcript-without-timestamp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/youtube-transcript-without-timestamp.json b/templates/youtube-transcript-without-timestamp.json index b4ca10a..5d6f586 100644 --- a/templates/youtube-transcript-without-timestamp.json +++ b/templates/youtube-transcript-without-timestamp.json @@ -1,6 +1,6 @@ { "schemaVersion": "0.1.0", - "name": "YouTube with transcript", + "name": "YouTube with transcript - no timestamp", "behavior": "create", "noteContentFormat": "## About\n\ntype:: #type/video/youtube/new\n\n![{{title}}]({{schema:@VideoObject:embedUrl|replace:\"embed/\":\"watch?v=\"}})\n\n## Description\n\n{{schema:@VideoObject:description}}\n\n## Notes\n\nYT=\n\n\n## Transcript\n\n{{selectorHtml:.segment-text|first|replace:\" \":\" \"|join:" "|markdown}}", "properties": [