Welcome to the Web Source Downloader Bot! This bot allows you to download the source code of any webpage effortlessly, including HTML, CSS, JS, images, fonts, and media.
- 📥 Download Full Website Source: Fetch complete source code including HTML, CSS, JS, images, fonts, and media files.
- 📂 Organized Download: Files are organized into folders and zipped for easy access.
- 🔒 Works in Private and Group Chats: Use the bot in private chats, groups, or supergroups.
- ⚡ Large Archive Support: Supports archives up to 50 MB.
- 🛠️ Flexible Commands: Use commands with prefixes
,,.,/,!, or#. - 📢 Updates Channel: Stay updated via the official channel.
- Start the Bot: Send the
,start,.start,/start,!start, or#startcommand to see the welcome message and available options. - Download Source Code: Use the
,ws <URL>,.ws <URL>,/ws <URL>,!ws <URL>, or#ws <URL>command (or similarly forwebsource) 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 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" COMMAND_PREFIX = [",", ".", "/", "!", "#"] UPDATES_CHANNEL_URL = "t.me/abirxdhackz"
-
Install Modules
pip3 install -r requirements.txt -
Run the bot:
python3 main.py
- Open the
config.pyfile in your favorite text editor. - Replace the placeholders for
API_ID,API_HASH,BOT_TOKEN,COMMAND_PREFIX, andUPDATES_CHANNEL_URLwith 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.COMMAND_PREFIX: List of command prefixes[",", ".", "/", "!", "#"].UPDATES_CHANNEL_URL: Set tot.me/abirxdhackz.
git clone https://github.com/abirxdhack/WebsiteSourceDl
cd WebsiteSourceDl
pip3 install -r requirements.txt
python3 main.py