randydev commited on
Commit
6784216
Β·
verified Β·
1 Parent(s): 63ff90e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -90,7 +90,7 @@ async def searchhub(client: Client, message: Message):
90
  try:
91
  response = await api.x_search(query=query)
92
  link = response[0]
93
- file_path, _, _, = await api.x_download(url=link, is_stream=True)
94
  upload_text = f"**⬆️ π–΄π—‰π—…π—ˆπ–Ίπ–½π—‚π—‡π—€ video ...**"
95
  await pro.edit_text(upload_text)
96
  await client.send_message(
 
90
  try:
91
  response = await api.x_search(query=query)
92
  link = response[0]
93
+ file_path, thumb, _ = await api.x_download(url=link, is_stream=True)
94
  upload_text = f"**⬆️ π–΄π—‰π—…π—ˆπ–Ίπ–½π—‚π—‡π—€ video ...**"
95
  await pro.edit_text(upload_text)
96
  await client.send_message(