aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-07-25 19:40:37 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-07-25 19:40:37 -0700
commit9fc347e0932c71f9d9840fe9f5941225c8a8b6ee (patch)
treeaea051800ad6799d1c6ae0218ef48e18721d33e5 /youtube/templates
parent44d7f9da994ca311c6125664d9fcfe91f4971d72 (diff)
downloadyt-local-9fc347e0932c71f9d9840fe9f5941225c8a8b6ee.tar.lz
yt-local-9fc347e0932c71f9d9840fe9f5941225c8a8b6ee.tar.xz
yt-local-9fc347e0932c71f9d9840fe9f5941225c8a8b6ee.zip
Add video transcript to downloads
Generated from the video captions
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 04f963d..4041144 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -381,6 +381,16 @@ Reload without invidious (for usage of new identity button).</a>
</a>
</li>
{% endfor %}
+ {% for download in other_downloads %}
+ <li class="download-format">
+ <a href="{{ download['url'] }}">
+ <ol class="format-attributes">
+ <li class="format-ext">{{ download['ext'] }}</li>
+ <li class="format-label">{{ download['label'] }}</li>
+ </ol>
+ </a>
+ </li>
+ {% endfor %}
</ul>
</details>
<input class="checkbox" name="video_info_list" value="{{ video_info }}" form="playlist-edit" type="checkbox">