Skip to content

Commit

Permalink
Update akeno.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Nov 4, 2024
1 parent bc8bfde commit 66bbc34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions akenoai/akeno.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ async def fbdown(self, link=None):
async with session.get(f"{self.api_endpoint}/akeno/fbdown-v2", params=params, headers=self.headers) as response:
return await response.json()

async def igdl(self, **params):
async with aiohttp.ClientSession() as session:
async with session.get(f"{self.api_endpoint}/akeno/fastdl-ig", params=params) as response:
return await response.json()

async def fdownloader(self, link=None):
params = {"link": link}
async with aiohttp.ClientSession() as session:
Expand Down

0 comments on commit 66bbc34

Please sign in to comment.