metafates / mangal

📖 The most advanced (yet simple) cli manga downloader in the entire universe! Lua scrapers, export formats, anilist integration, fancy TUI and more!
MIT License
1.38k stars 52 forks source link

Exact match manga selector #131

Closed oae closed 1 year ago

oae commented 1 year ago

Feature Description

Is it possible to add an exact selector to the manga parameter to match the name from the result list? Something like below;

Solution you would like

A new selector like below that matches the name;

mangal inline --source Mangasee --query "Naruto" --manga exact -j

Alternatives you have considered

I tried the following items in order to get the same result;

  1. Execute mangal inline --source Mangasee --query "Naruto" -j
  2. Read the result array and filter the exact matching item
  3. And then execute with the index from the result mangal inline --source Mangasee --query "Naruto" --manga <index> --chapters all -j

Additional context

See https://github.com/oae/kaizoku/issues/33

metafates commented 1 year ago

Hi, sure! Will do