movie-parse
Version:
Parse torrent movie name
64 lines (49 loc) • 1.12 kB
Markdown
Install
`npm -g install movie-parse`
Usage:
`movie-parse "The.Staying.Alive.S05E02.720p.HDTV.x264-KILLERS[rartv]" "Arrow.S05E03.2015"`
[](http://bit.ly/1SzRGTr)
```json
{
"year":2015,
"resolution":"1080p",
"quality":"BluRay",
"codec":"x264",
"audio":"AC3",
"title":"The Martian",
"group":"ETRG"
}
```
[](http://bit.ly/1VIMxZ5)
```json
[
{
"year":2015,
"resolution":"1080p",
"quality":"BluRay",
"codec":"x264",
"audio":"AC3",
"title":"The Martian",
"group":"ETRG"
},
{
"year":2015,
"resolution":"1080p",
"codec":"x264",
"audio":"AC3",
"title":"Mission Impossible Rogue Nation",
"group":"JYK",
"excess":[
"WEB",
"DL"
]
}
]
```

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