Skip to content

Commit

Permalink
update search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 22, 2025
1 parent 1ab0922 commit d014615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async def search(key, site, message):
async def get_result(search_results, key, message):
telegraph_content = []
msg = f"<h4>PLUGINS Search Result(s) For {key}</h4>"
for _, result in enumerate(search_results, start=1):
for index, result in enumerate(search_results, start=1):
msg += f"<a href='{result.descrLink}'>{escape(result.fileName)}</a><br>"
msg += f"<b>Size: </b>{get_readable_file_size(result.fileSize)}<br>"
msg += f"<b>Seeders: </b>{result.nbSeeders} | <b>Leechers: </b>{result.nbLeechers}<br>"
Expand Down

0 comments on commit d014615

Please sign in to comment.