api: fix actual_search_query

This commit is contained in:
Lovi 2025-05-18 16:31:15 +02:00
parent b3db6aa8c1
commit 4f0c58f14d

View File

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