sdaqo / anipy-cli

Little tool in python to watch and download anime from the terminal (the better way to watch anime). Also applicable as an API
https://sdaqo.github.io/anipy-cli
GNU General Public License v3.0
270 stars 40 forks source link

Season Search Flag + Config Option #191

Closed DragonOfShuu closed 3 months ago

DragonOfShuu commented 3 months ago

This change resolves #190, adding the ability to request search by season immediately, using an optional config parameter, and a flag parameter.

The flag is a true/false flag, but it also allows you to make immediate search queries.

Usage:

anipy-cli -ss # This allows the user to use the gui to choose the year and season
anipy-cli -ss 2023:win # This lets the user immediately search by season, similar to episode search

There is also an additional configuration property called assume_season_search. Not sure why someone would need it, but it's now there in case someone is making constant season searches.

I know that there is already a season mode, however this mode does not allow you to make quick and easy season searches, thus this feature addition.

sdaqo commented 3 months ago

LGTM, thanks!

sdaqo commented 3 months ago

Will publish new version later today