Remove advertisement from subtitle files

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

Subscleaner

Dependencies

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

pip3 install --user pysrt chardet

or via virtual environment.

Installation

Clone the repo and run

python3 setup.py --user install

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

Usage

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:

subscleaner building_on_the_past.en.srt