Download YouTube videos with captions and automatically censor profanity in the audio track.
Uses yt-dlp to download and cleanvid (by mmguero) to censor.
./setup.sh
chmod +x CLEAN.shNote:
cleanvidis a separate project by mmguero. For issues or feature requests related to audio censoring, see mmguero/cleanvid.
./CLEAN.sh <url> <filename>Arguments:
url— YouTube video URLfilename— Output filename (without extension)
Output: {filename}_cleaned.mp4
./CLEAN.sh "https://www.youtube.com/watch?v=dQw4w9WgXcQ" rickroll- English closed captions must be available on the video
cleanvidworks best with clearly spoken content