parse-torrent-name
parse-torrent-name copied to clipboard
extract language
ru | en | name |
---|---|---|
true | undefined | That Awkward Moment 2014 DVDRip 1400MB RUSSIAN ONLY |
undefined | true | Teenage.Mutant.Ninja.Turtles.2014.PROPER.ENGLISH.CAM.X264.AAC-RA |
undefined | true | The Dark Valley 2014 HDRip English Xvid |
true | true | Guardians of the Galaxy 2014 1080p BluRay x264 Rus Eng HDAccess |
Is following correct?
se | name |
---|---|
true | Guardians.of.the.Galaxy.2014.SWESUB.720p.BluRay.x264-Mr.Stiffy |
Should language be presented as an array (e.g. ['en', 'se']
) instead of series of flags?
Language, country or garbage?
Dragon.Ball.Z.Battle.of.Gods.2013.Extended.US.BluRay.720p.DTS.x2 The Librarians US S01E01-E02 HDTV x264-KILLERS[ettv]
See also #53 and #85.
Prettify "language".
E.g. 'eng.rus'
-> ['en', 'ru']