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

  1. Add the dependency to your shard.yml:

    dependencies:
      anime_info:
        git: [email protected]:Sylphrena/AnimeTitleParser.git
  2. 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

  1. Fork it (https://codeberg.org/Sylphrena/AnimeTitleParser/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors