Skip to main content

Parse torrent name of a movie or TV show

Project description

# parse-torrent-name

> Parse torrent name of a movie or TV show

A python port of [Jānis](https://github.com/jzjzjzj)' awesome
[library](https://github.com/jzjzjzj/parse-torrent-name) written in javascript.

## Install

```sh
$ pip install parse-torrent-name
```

## Usage

```py
import PTN

PTN.parse('San Andreas 2015 720p WEB-DL x264 AAC-JYK')
# {
# 'group': 'JYK',
# 'title': 'San Andreas',
# 'resolution': '720p',
# 'codec': 'x264',
# 'year': '2015',
# 'audio': 'AAC',
# 'quality': 'WEB-DL'
# }

PTN.parse('Mr Robot S01E05 HDTV x264-KILLERS[ettv]')
# {
# 'episode': 5,
# 'season': 1,
# 'title': 'Mr Robot',
# 'codec': 'x264',
# 'group': 'KILLERS[ettv]'
# 'quality': 'HDTV'
# }
```

## Contributing

Take a look at the open
[issues](https://github.com/jzjzjzj/parse-torrent-name/issues) on the original
project and submit a PR!

## License

MIT © [Divij Bindlish](http://divijbindlish.com)

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

parse-torrent-name-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file parse-torrent-name-0.1.0.tar.gz.

File metadata

File hashes

Hashes for parse-torrent-name-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a23f5c3b3ea2243e2ad24f12c9df3f245a5c9443a299fe4e35f556911c16ab5e
MD5 da62f693ff9b8fc3098704e0ad6edde6
BLAKE2b-256 97a631af293b35ac461b9f19bddc381c37e5ecd0dfcbdb637e26502974ab3c54

See more details on using hashes here.

Supported by

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