Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Qewertyy committed Dec 22, 2023
1 parent cda7d1a commit 190476f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lexica/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def MediaDownloaders(self,platform: str,url:str):
)
return resp

def SearchImages(self,query: str, engine: str="google") -> dict:
def SearchImages(self,query: str, page: int=0,engine: str="google") -> dict:
"""
Search for images
Example:
Expand Down
4 changes: 2 additions & 2 deletions lexica/core_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async def MediaDownloaders(self,platform: str,url:str) -> dict:
)
return resp

async def SearchImages(self,query: str, engine: str="google") -> dict:
async def SearchImages(self,query: str, page: int=0,engine: str="google") -> dict:
"""
Search for images
Example:
Expand All @@ -265,6 +265,6 @@ async def SearchImages(self,query: str, engine: str="google") -> dict:
resp = await self._request(
url=f'{self.url}/image-search/{engine}',
method='POST',
params={'query': query}
params={'query': query,'page':page}
)
return resp
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_long_description():

setup(
name="lexica-api",
version="1.4.9",
version="1.5.0",
author="Qewertyy",
author_email="[email protected]",
description="The python package for api.qewertyy.me",
Expand Down

0 comments on commit 190476f

Please sign in to comment.