mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 20:15:24 +00:00
Fix costant /3
This commit is contained in:
parent
938ed00064
commit
ccb77b35ae
@ -71,6 +71,7 @@ def title_search(word_to_search: str) -> int:
|
|||||||
'date': tr.find_all("td")[-3].get_text(strip=True).replace("'", ""),
|
'date': tr.find_all("td")[-3].get_text(strip=True).replace("'", ""),
|
||||||
'size': tr.find_all("td")[-2].get_text(strip=True)
|
'size': tr.find_all("td")[-2].get_text(strip=True)
|
||||||
}
|
}
|
||||||
|
media_search_manager.add_media(title_info)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error parsing a film entry: {e}")
|
print(f"Error parsing a film entry: {e}")
|
||||||
|
@ -50,7 +50,7 @@ def search(string_to_search: str = None, get_onylDatabase: bool = False):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if string_to_search is None:
|
if string_to_search is None:
|
||||||
string_to_search = msg.ask(f"\n[purple]Insert word to search in [green]{SITE_NAME}").strip()
|
string_to_search = msg.ask(f"\n[purple]Insert word to search in [green]{site_constant.SITE_NAME}").strip()
|
||||||
|
|
||||||
# Get site domain and version and get result of the search
|
# Get site domain and version and get result of the search
|
||||||
site_version, domain = get_version_and_domain()
|
site_version, domain = get_version_and_domain()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user