mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
ec7386cb12
@ -140,7 +140,9 @@ def search(string_to_search: str = None, get_onlyDatabase: bool = False, direct_
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Perform search on the database using the obtained query
|
# 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 only the database object (media_search_manager populated by title_search) is needed
|
||||||
if get_onlyDatabase:
|
if get_onlyDatabase:
|
||||||
|
@ -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()
|
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
|
# 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)
|
len_database = title_search(string_to_search, proxy)
|
||||||
|
|
||||||
# If only the database is needed, return the manager
|
# If only the database is needed, return the manager
|
||||||
|
@ -60,4 +60,4 @@
|
|||||||
"max_retry": 8,
|
"max_retry": 8,
|
||||||
"proxy": ""
|
"proxy": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user