Skip to main content

A Python package for scraping and downloading subtitles from iTunes movie pages.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isubrip-2.3.2.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isubrip-2.3.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file isubrip-2.3.2.tar.gz.

File metadata

  • Download URL: isubrip-2.3.2.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for isubrip-2.3.2.tar.gz
Algorithm Hash digest
SHA256 185bb63b11b7529fb6aefb478fb2fcd3f88fc4d97e25a03265e0d5864874b4c0
MD5 d7eec94abb0df345d6e75bd8eb62cd06
BLAKE2b-256 c223cbfe8ed545c0596a009fc06ecd94e14d595ef231d11d36493c812b58ace9

See more details on using hashes here.

File details

Details for the file isubrip-2.3.2-py3-none-any.whl.

File metadata

  • Download URL: isubrip-2.3.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for isubrip-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de4e19a40fc273a4411d5334f8f31dc64c4affa3f0fc1be229047ab1df0b22b0
MD5 1b0661ddb44fa47461327fdeab77fdab
BLAKE2b-256 452842cd390662898042cba2ea21b9074c99a53585e42969ea218fdb6d00c6ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page