Anime Title Parser
A Crystal clear 🔮, cut for speed 💎✨ parser for anime release titles or filenames. Should support the vast majority of naming schemes used by release groups.
Installation
-
Add the dependency to your
shard.yml
:dependencies: anime_info: git: [email protected]:Sylphrena/AnimeTitleParser.git
-
Run
shards install
Usage
require "anime_title_parser"
information = AnimeTitleParser.parse "NieR.Automata.Ver1.1a.S01E09.Hun[G]ry.for.Knowledge.1080p.BluRay.REMUX.AVC.FLAC.2.0-TACHiKEN.mkv"
information.title # => NieR Automata Ver1.1a
information.season # => 1
information.episode # => 9
Contributing
- Fork it (https://codeberg.org/Sylphrena/AnimeTitleParser/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Sylphrena - creator and maintainer