Merge branch 'main' into dev

This commit is contained in:
None 2025-05-18 14:16:02 +02:00 committed by GitHub
commit ec7386cb12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -140,7 +140,9 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
return
# Perform search on the database using the obtained query
len_database = title_search(actual_search_query, proxy)
finder = ProxyFinder(site_constant.FULL_URL)
proxy = finder.find_fast_proxy()
len_database = title_search(string_to_search, proxy)
# If only the database object (media_search_manager populated by title_search) is needed
if get_onlyDatabase:

View File

@ -84,6 +84,8 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
string_to_search = msg.ask(f"\n[purple]Insert a word to search in [green]{site_constant.SITE_NAME}").strip()
# Perform search on the database using the obtained query
finder = ProxyFinder(url=f"{site_constant.FULL_URL}/serie/euphoria/")
proxy = finder.find_fast_proxy()
len_database = title_search(string_to_search, proxy)
# If only the database is needed, return the manager

View File

@ -60,4 +60,4 @@
"max_retry": 8,
"proxy": ""
}
}
}