Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.38 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.38 KB

iSubRip

A Python package for scraping and downloading subtitles from iTunes movie pages.
Latest version: 2.3.2 (changelog)


PyPI - Version PyPI - Monthly Downloads PyPI - Total Downloads PyPI - Python Version GitHub - License GitHub - issues GitHub - Repo stars

Requirements

  • Python 3.7+

Installation

PyPI (Recommended)

python3 -m pip install isubrip

Git Source Code

python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

Usage

isubrip <iTunes movie URL> [iTunes movie URL...]

Configuration

It's possible to configure different options and enable / disable different features using a TOML config file.
A config file will be looked for in one of the following paths according to OS:

Windows: %USERPROFILE%\.isubrip\config.json
Linux / macOS: $HOME/.isubrip/config.toml

Path Examples:

Windows: C:\Users\Michael\.isubrip\config.toml
Linux: /home/Michael/.isubrip/config.toml
macOS: /Users/Michael/.isubrip/config.toml


Example Config:

[downloads]
folder = "C:\\iTunes-Subtitles"
format = "srt"
languages = ["en-US"]
zip = false

[subtitles]
fix-rtl = true

A complete config with all the available options and explanations for each configuration can be found here

Notes

  • All settings are optional. Not specifying a setting will result in using the default value.