diff --git a/Src/Api/1337xx/__init__.py b/Src/Api/1337xx/__init__.py index 5122eed..ca718c4 100644 --- a/Src/Api/1337xx/__init__.py +++ b/Src/Api/1337xx/__init__.py @@ -33,3 +33,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/altadefinizione/__init__.py b/Src/Api/altadefinizione/__init__.py index d64f65a..66235b4 100644 --- a/Src/Api/altadefinizione/__init__.py +++ b/Src/Api/altadefinizione/__init__.py @@ -33,3 +33,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/animeunity/__init__.py b/Src/Api/animeunity/__init__.py index e08f478..8a54f70 100644 --- a/Src/Api/animeunity/__init__.py +++ b/Src/Api/animeunity/__init__.py @@ -32,3 +32,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/bitsearch/__init__.py b/Src/Api/bitsearch/__init__.py index 45a732a..2800430 100644 --- a/Src/Api/bitsearch/__init__.py +++ b/Src/Api/bitsearch/__init__.py @@ -34,3 +34,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/cb01/__init__.py b/Src/Api/cb01/__init__.py index c2cee4b..5a75609 100644 --- a/Src/Api/cb01/__init__.py +++ b/Src/Api/cb01/__init__.py @@ -34,3 +34,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/ddlstreamitaly/__init__.py b/Src/Api/ddlstreamitaly/__init__.py index abf0e56..7e10760 100644 --- a/Src/Api/ddlstreamitaly/__init__.py +++ b/Src/Api/ddlstreamitaly/__init__.py @@ -40,3 +40,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/guardaserie/__init__.py b/Src/Api/guardaserie/__init__.py index 8faa635..04ff0d6 100644 --- a/Src/Api/guardaserie/__init__.py +++ b/Src/Api/guardaserie/__init__.py @@ -33,3 +33,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/streamingcommunity/__init__.py b/Src/Api/streamingcommunity/__init__.py index 19edc70..7ab51c2 100644 --- a/Src/Api/streamingcommunity/__init__.py +++ b/Src/Api/streamingcommunity/__init__.py @@ -40,3 +40,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/uhdmovies/__init__.py b/Src/Api/uhdmovies/__init__.py index e71e7c3..b67aa7a 100644 --- a/Src/Api/uhdmovies/__init__.py +++ b/Src/Api/uhdmovies/__init__.py @@ -34,3 +34,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Api/watch_lonelil/__init__.py b/Src/Api/watch_lonelil/__init__.py index 9317a3d..a1ad202 100644 --- a/Src/Api/watch_lonelil/__init__.py +++ b/Src/Api/watch_lonelil/__init__.py @@ -42,3 +42,6 @@ def search(): else: console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}") + + # Retry + search() diff --git a/Src/Lib/TMBD/tmbd.py b/Src/Lib/TMBD/tmbd.py index ae75efb..7573fec 100644 --- a/Src/Lib/TMBD/tmbd.py +++ b/Src/Lib/TMBD/tmbd.py @@ -12,6 +12,11 @@ from rich.console import Console from Src.Util.table import TVShowManager +# Variable +tv_show_manager = TVShowManager() +api_key = "a800ed6c93274fb857ea61bd9e7256c5" + + class TheMovieDB: def __init__(self, api_key, tv_show_manager): """ @@ -204,11 +209,5 @@ class TheMovieDB: ] self._display_with_title(f"Search Results for: {title}", data, columns) - - -# Create an instance of TVShowManager -tv_show_manager = TVShowManager() - -# Replace with your actual API key -api_key = "a800ed6c93274fb857ea61bd9e7256c5" +# Output tmdb = TheMovieDB(api_key, tv_show_manager) \ No newline at end of file