Welcome to the Web Source Downloader Bot! This bot allows you to download the source code of any webpage effortlessly.
- 📥 Download HTML, CSS, and JS files: Fetch the complete source code of any webpage.
- 📂 Organized Download: The downloaded files are organized into folders and zipped for easy access.
- 🛠️ User-friendly: Simple commands to interact with the bot.
- Start the Bot: Send the
/startcommand to the bot to see the welcome message and available options. - Download Source Code: Use the
/ws <URL>command to download the source code of a webpage.
To download the source code of https://example.com, use the following command:
/ws https://example.com
Stay updated with our channels:
- 🔄 Update Channel
- 🤚🏻 Backup Channel
- 👮🏻♂️ Proof Channel
- Python 3.9+
- Pyrogram
- A Telegram Bot Token
-
Clone the repository:
git clone https://github.com/abirxdhack/WebsiteSourceDl.git cd WebsiteSourceDl -
Edit The
config.pyfile:API_ID = "your_api_id" API_HASH = "your_api_hash" BOT_TOKEN = "your_bot_token"
-
Run the bot:
python main.py
- Open the
config.pyfile in your favorite text editor. - Replace the placeholders for
API_ID,API_HASH,ADMIN_IDS,DEFAULT_LIMIT,ADMIN_LIMIT, andBOT_TOKENwith your actual values:API_ID: Your API ID from my.telegram.org.API_HASH: Your API Hash from my.telegram.org.BOT_TOKEN: The token you obtained from @BotFather.
git clone https://github.com/abirxdhack/WebsiteSourceDl
cd WebsiteSourceDl
python main.py