mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
Fix proxy (#319)
* Add ENABLE_VIDEO * Fix proxy * Add error proxy * Update config.json
This commit is contained in:
parent
30ed9afce1
commit
b1a3a169cf
@ -71,7 +71,7 @@ def get_user_input(string_to_search: str = None):
|
||||
else:
|
||||
return msg.ask(f"\n[purple]Insert a word to search in [green]{site_constant.SITE_NAME}").strip()
|
||||
|
||||
def process_search_result(select_title, selections=None):
|
||||
def process_search_result(select_title, selections=None, proxy=None):
|
||||
"""
|
||||
Handles the search result and initiates the download for either a film or series.
|
||||
|
||||
@ -151,15 +151,8 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
|
||||
return media_search_manager
|
||||
|
||||
if len_database > 0:
|
||||
|
||||
# Se ci sono risultati, chiama get_select_title per chiedere all'utente quale selezionare.
|
||||
select_title_obj = get_select_title(
|
||||
table_show_manager,
|
||||
media_search_manager,
|
||||
len_database
|
||||
)
|
||||
|
||||
process_search_result(select_title_obj, selections, proxy)
|
||||
select_title = get_select_title(table_show_manager, media_search_manager)
|
||||
process_search_result(select_title, selections, proxy)
|
||||
|
||||
else:
|
||||
no_results_message = f"Nessun risultato trovato per: '{actual_search_query}'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user