UniBorg
1.32K subscribers
4 photos
1 video
16 files
39 links
WORST UserBot with the WORST features!!

https://GitHub.com/SpEcHiDe/UniBorg

All code in this channel is licensed under GPLv3, except where otherwise noted!

[Licensed under CC BY 3.0 https://creativecommons.org/licenses/by/3.0/]

ℹ️ @SpEcHlDe
Download Telegram
#Pyrogram #EVAL Script to Get all telegram.org stickers

import aiohttp
import aiofiles
import os
from bs4 import BeautifulSoup
url = "https://telegram.org"
async with aiohttp.ClientSession() as session:
ury = await session.get(url)
yru = await ury.text()
soup = BeautifulSoup(yru, "html.parser")
y_tg_div = soup.find("div", {"class": "tl_main_cards"})
card_div_s = y_tg_div.find_all("source")
ilopker = 1
for card_div in card_div_s:
crs_tes = url + card_div.get("srcset")
lacol_fn = str(ilopker) + ".tgs"
async with session.get(
crs_tes
) as resp:
f_p = await aiofiles.open(lacol_fn, mode="wb")
await f_p.write(await resp.read())
await f_p.close()
await message.reply_document(
document=lacol_fn,
caption=str(ilopker)
)
os.remove(lacol_fn)
ilopker = ilopker + 1

©️ @UniBorg