Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🌐 Web Source Downloader Bot 🤖

Pyrogram Python License Stars Forks Issues

Welcome to the Web Source Downloader Bot! This bot allows you to download the source code of any webpage effortlessly.

✨ Features

  • 📥 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.

🚀 Usage

  1. Start the Bot: Send the /start command to the bot to see the welcome message and available options.
  2. Download Source Code: Use the /ws <URL> command to download the source code of a webpage.

Example

To download the source code of https://example.com, use the following command:

/ws https://example.com

📢 Stay Updated

Stay updated with our channels:

👨‍💻 Developer

🛠️ Setup

Prerequisites

  • Python 3.9+
  • Pyrogram
  • A Telegram Bot Token

Installation

  1. Clone the repository:

    git clone https://github.com/abirxdhack/WebsiteSourceDl.git
    cd WebsiteSourceDl
  2. Edit The config.py file:

    API_ID = "your_api_id"
    API_HASH = "your_api_hash"
    BOT_TOKEN = "your_bot_token"
  3. Run the bot:

    python main.py

Configuration

  1. Open the config.py file in your favorite text editor.
  2. Replace the placeholders for API_ID, API_HASH, ADMIN_IDS, DEFAULT_LIMIT, ADMIN_LIMIT, and BOT_TOKEN with your actual values:

Deploy the Bot

git clone https://github.com/abirxdhack/WebsiteSourceDl
cd WebsiteSourceDl
python main.py

About

Welcome to the Web Source Downloader Bot This bot allows you to download the source code of any webpage effortlessly.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages