Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
adogecheems committed Aug 28, 2024
1 parent 2976b3b commit eff2cef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion anisearch/plugins/tokyotosho.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ def search(self, keyword: str, collected: bool = False, proxies: Optional[dict]
log.error(f"Error occurred while processing page {page}: {e}")
break

log.info(f"This search is complete: {keyword}")
return animes
4 changes: 3 additions & 1 deletion anisearch/search/AniSearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def reset(self) -> None:
self.if_selected: Optional[bool] = False

def search(self, keyword: str, collected: Optional[bool] = None, proxies: Optional[dict] = None,
system_proxy: Optional[bool] = None) -> None:
system_proxy: Optional[bool] = None, **extra_options) -> None:
"""
Search for anime using the given keyword.
Expand All @@ -79,6 +79,8 @@ def search(self, keyword: str, collected: Optional[bool] = None, proxies: Option
kwargs['proxies'] = proxies
if system_proxy is not None:
kwargs['system_proxy'] = system_proxy
if extra_options is not None:
kwargs = {**kwargs, **extra_options}

try:
self.animes = self.plugin.search(**kwargs)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='Anisearch-lib',
version='1.3.0',
version='1.3.1',
packages=find_packages(exclude=['tests*']),
install_requires=requirements,
entry_points={
Expand Down

0 comments on commit eff2cef

Please sign in to comment.