• เคล็ดลับในการดึงคำบรรยายจาก Youtube แล้วทำให้เป็นข้อความที่อ่านง่าย

youtube-dl --output "captions.%(ext)s" --write-auto-sub --skip-download [ลิงก์วิดีโอ]

sed '/-->/d' captions.en.vtt | sed '/<c>/d' | sed '/^[[:space:]]*$/d' | uniq > captions.txt

ยังไม่มีความคิดเห็น

ยังไม่มีความคิดเห็น