Skip to content

hashangayasri/subscleaner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 install --user 

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

About

Remove advertisement from subtitle files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%