Update main.py
Browse files
main.py
CHANGED
@@ -86,10 +86,10 @@ async def searchhub(client: Client, message: Message):
|
|
86 |
query = message.text.split(" ", 1)[1] if len(message.command) > 1 else None
|
87 |
if not query:
|
88 |
return await message.reply_text("please search for pornohub.")
|
|
|
89 |
try:
|
90 |
response = await api.x_search(query=query)
|
91 |
link = response[0]
|
92 |
-
pro = await message.reply_text("Processing.....")
|
93 |
file_path, _, _, = await api.x_download(url=link, is_stream=True)
|
94 |
upload_text = f"**β¬οΈ π΄ππ
ππΊπ½πππ video ...**"
|
95 |
await pro.edit_text(upload_text)
|
@@ -131,8 +131,8 @@ async def porno_download(client: Client, message: Message):
|
|
131 |
return await message.reply_text("please link for pornohub.")
|
132 |
if not link.startswith("https://www.xnxx.com/"):
|
133 |
return await message.reply_text("invalid link.")
|
|
|
134 |
try:
|
135 |
-
pro = await message.reply_text("Processing.....")
|
136 |
file_path, thumb, _ = await api.x_download(url=link, is_stream=True)
|
137 |
upload_text = f"**β¬οΈ π΄ππ
ππΊπ½πππ video ...**"
|
138 |
await pro.edit_text(upload_text)
|
|
|
86 |
query = message.text.split(" ", 1)[1] if len(message.command) > 1 else None
|
87 |
if not query:
|
88 |
return await message.reply_text("please search for pornohub.")
|
89 |
+
pro = await message.reply_text("Processing.....")
|
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)
|
|
|
131 |
return await message.reply_text("please link for pornohub.")
|
132 |
if not link.startswith("https://www.xnxx.com/"):
|
133 |
return await message.reply_text("invalid link.")
|
134 |
+
pro = await message.reply_text("Processing.....")
|
135 |
try:
|
|
|
136 |
file_path, thumb, _ = await api.x_download(url=link, is_stream=True)
|
137 |
upload_text = f"**β¬οΈ π΄ππ
ππΊπ½πππ video ...**"
|
138 |
await pro.edit_text(upload_text)
|