Fix costant /3

This commit is contained in:
Dark1291 2025-02-12 10:24:46 +01:00
parent 938ed00064
commit ccb77b35ae
5 changed files with 5 additions and 4 deletions

View File

@ -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}")

View File

@ -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()

View File

@ -19,4 +19,4 @@ start_message()
logger = Logger() logger = Logger()
video_source = VideoSource("https://cb01new.biz/what-the-waters-left-behind-scars-hd-2023") video_source = VideoSource("https://cb01new.biz/what-the-waters-left-behind-scars-hd-2023")
master_playlist = video_source.get_playlist() master_playlist = video_source.get_playlist()
print(master_playlist) print(master_playlist)

View File

@ -19,4 +19,4 @@ start_message()
logger = Logger() logger = Logger()
video_source = VideoSource("https://supervideo.tv/78np7kfiyklu") video_source = VideoSource("https://supervideo.tv/78np7kfiyklu")
master_playlist = video_source.get_playlist() master_playlist = video_source.get_playlist()
print(master_playlist) print(master_playlist)

View File

@ -23,4 +23,4 @@ video_source.get_iframe()
video_source.get_content() video_source.get_content()
master_playlist = video_source.get_playlist() master_playlist = video_source.get_playlist()
print(master_playlist) print(master_playlist)