Remove advertisement from subtitle files

.gitignore release including 4 months ago
LICENSE Create LICENSE 4 months ago update readme: installation + dependecies 6 days ago release including 4 months ago
subscleaner don't use fstrings 2 days ago



This script depends on chardet and pysrt. Install them via pip3:

pip3 install --user pysrt chardet

or via virtual environment.


Clone the repo and run

python3 --user install

or chmod +x the script and copy it in a $PATH directory.


Run the script giving as arguments the subtitle files. In case some ads are found inside the file, the old file is moved to .bak and the new file written with the same name. Example: