This script allows you to dowload a pair of different language subtitles for a movie from opensubtitles.org. You can take a parallel text and practice you translation skill that will help you to learn a foreign language. All subtitles you've downloaded are stored on the disk and can be used later in the learning process.
python3
SRT processing library (https://github.com/cdown/srt)
urwid (Console user interface library)
# clone repo
git clone https://github.com/zserg/pairsubs.git
cd pairsubs
# create virtual environment
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
# run app
python pairsubs.py
The information about the all downloaded subtitles is stored in ~/.pairsubs/cache.json. The subtitles files are stored in ~/.pairsubs/files/ .