Skip to content

Sequential File Downloader is a tool written in the Python programming language that allows users to download consecutive files from a specific URL template. This can be useful in many different use cases, such as online image or data collection projects.

License

Notifications You must be signed in to change notification settings

hasanbeder/SequentialFileDownloader

Repository files navigation

⭐️ Sequential File Downloader ⭐️

Download Sample

A powerful and efficient Python tool for downloading sequential files in parallel. Perfect for downloading numbered files like images, documents, or any other sequential content.

EnglishTürkçe

🚀 Features

  • ⚡️ Parallel Downloads: Download multiple files simultaneously
  • 📦 Memory Efficient: Smart batch processing to handle large sequences
  • 🔄 Auto Sequence: Automatically generates sequential URLs
  • 📊 Progress Tracking: Real-time progress bars for each download
  • 💡 Smart Detection: Automatically detects when sequence ends
  • 🛡️ Error Handling: Robust error management and recovery
  • 📝 Detailed Stats: Download speed, size, and time statistics

💡 Use Case Example

Imagine you're browsing an e-book site and want to download a book. The site has images of the book, and you've copied the link to the first image:

https://example.com/book/page_1.jpg
https://example.com/book/page_2.jpg
https://example.com/book/page_3.jpg
...

Instead of downloading each image manually, Sequential File Downloader will handle everything automatically!

🔧 Installation

  1. Clone the repository:
git clone https://github.com/yourusername/SequentialFileDownloader.git
cd SequentialFileDownloader
  1. Install dependencies:
pip install -r requirements.txt

📖 Usage

  1. Run the script:
python sequential_file_downloader.py
  1. Enter the URL template when prompted
  2. Choose download directory (optional)
  3. Specify number of files (or press Enter for unlimited)

⚙️ Configuration

downloader = FileDownloader(
    timeout=30,        # Connection timeout
    chunk_size=8192,   # Download chunk size
    max_workers=3,     # Parallel downloads
    batch_size=100     # Files per batch
)

🤝 Contributing

Contributions are welcome! Feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Sequential File Downloader is a tool written in the Python programming language that allows users to download consecutive files from a specific URL template. This can be useful in many different use cases, such as online image or data collection projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages