mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 11:35:29 +00:00
Add retry to all site.
This commit is contained in:
parent
7603f45575
commit
732507c14e
@ -33,3 +33,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -33,3 +33,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -32,3 +32,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -34,3 +34,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -34,3 +34,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -40,3 +40,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -33,3 +33,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -40,3 +40,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -34,3 +34,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -42,3 +42,6 @@ def search():
|
||||
|
||||
else:
|
||||
console.print(f"\n[red]Nothing matching was found for[white]: [purple]{string_to_search}")
|
||||
|
||||
# Retry
|
||||
search()
|
||||
|
@ -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)
|
Loading…
x
Reference in New Issue
Block a user