This commit is contained in:
yasir 2023-01-15 20:20:22 +07:00
parent a7edcc29cc
commit 5eed1760a2

View file

@ -1002,9 +1002,9 @@ async def lendrive_dl(_, callback_query):
InlineButton("❌ Close", f"close#{callback_query.from_user.id}") InlineButton("❌ Close", f"close#{callback_query.from_user.id}")
) )
try: try:
html = await http.get(link, headers=headers) hmm = await http.get(link, headers=headers)
soup = BeautifulSoup(html.text, "lxml") q = BeautifulSoup(hmm.text, "lxml")
j = soup.findAll("div", class_="soraurlx") j = q.findAll("div", class_="soraurlx")
kl = "<b>#Lendrive Results Download URL:</b>\n\n" kl = "<b>#Lendrive Results Download URL:</b>\n\n"
for i in j: for i in j:
if not i.find("a"): if not i.find("a"):