{"id":491,"date":"2025-09-28T07:19:54","date_gmt":"2025-09-28T07:19:54","guid":{"rendered":"https:\/\/xuan.co.uk\/?p=491"},"modified":"2025-09-28T07:19:54","modified_gmt":"2025-09-28T07:19:54","slug":"batch-extract-captions-from-youtube","status":"publish","type":"post","link":"https:\/\/xuan.co.uk\/?p=491","title":{"rendered":"Batch extract captions from youtube"},"content":{"rendered":"<p>Create a text file called videos.txt, all captions will be extracted the video title name.<\/p>\n<p>Download YT-DLP and run this command line<\/p>\n<p>yt-dlp.exe &#8211;ignore-config &#8211;no-overwrite &#8211;write-sub &#8211;write-auto-subs &#8211;sub-lang en &#8211;skip-download &#8211;output &#8220;%(title)s %(id)s.%(ext)s&#8221; -a videos.txt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a text file called videos.txt, all captions will be extracted the video title name. Download YT-DLP and run this command line yt-dlp.exe &#8211;ignore-config &#8211;no-overwrite &#8211;write-sub &#8211;write-auto-subs &#8211;sub-lang en &#8211;skip-download &#8211;output &#8220;%(title)s %(id)s.%(ext)s&#8221; -a videos.txt<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-491","post","type-post","status-publish","format-standard","hentry","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491"}],"version-history":[{"count":1,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}