This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ultroid - UserBot | |
# Copyright (C) 2021-2023 TeamUltroid | |
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ > | |
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>. | |
# import os | |
# os.system("python3 -m pip install requests bs4 lxml") | |
import requests | |
from bs4 import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © Amit Sharma < https://github.com/buddhhu > | |
try: | |
import telethon | |
except ModuleNotFoundError: | |
print("Telethon not found. Installing...") | |
import os | |
os.system("python3 -m pip install -q telethon") | |
from telethon import TelegramClient |