We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b3d854 commit 1f5ed9fCopy full SHA for 1f5ed9f
scripts/youtube_getVideoCaption.js
@@ -68,7 +68,8 @@ export default {
68
}
69
</style>
70
<div>
71
- <h3>Captions</h3><br/>
+ <h3 style="text-align:center">Useful-scripts: Youtube captions</h3><br/>
72
+ <h4>${title}</h4><br/>
73
<ul>
74
${captions
75
.map(
@@ -117,8 +118,7 @@ export default {
117
118
const data = texts
119
.map((t) => decodeHtmlEntities(t.textContent))
120
.join("\n");
- alert(data);
121
- // UfsGlobal.Utils.downloadData(data, title + ".txt");
+ UfsGlobal.Utils.downloadData(data, title + ".txt");
122
} else if (type === "srt") {
123
124
.map((t, i) => {
0 commit comments