Skip to content

search ¤

SearchQuery ¤

SearchQuery(query: str)

Searches for a show based on query

chosen_show property ¤

chosen_show: Season

Returns the chosen show.

Raises:

Returns:

  • Season ( Season ) –

    The chosen show.

check_local_shows ¤

check_local_shows() -> None

Checks if a TV show exists locally in the specified directory.

find_show ¤

find_show() -> Season

Finds show information either locally or online.

If the show information is not found locally or if no show has been chosen, the method will attempt to find the show online. If no show is found, a ValueError will be raised.

Returns:

  • Season

    The chosen show object with its details fetched.

find_shows_online ¤

find_shows_online() -> None

Searches for TV shows online using the specified query and displays the results in a table. The user is prompted to choose a show from the table, and the chosen show is stored in the _chosen_show attribute of the TVShowDownloader instance.