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.
- ⚡️ 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
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!
- Clone the repository:
git clone https://github.com/yourusername/SequentialFileDownloader.git
cd SequentialFileDownloader
- Install dependencies:
pip install -r requirements.txt
- Run the script:
python sequential_file_downloader.py
- Enter the URL template when prompted
- Choose download directory (optional)
- Specify number of files (or press Enter for unlimited)
downloader = FileDownloader(
timeout=30, # Connection timeout
chunk_size=8192, # Download chunk size
max_workers=3, # Parallel downloads
batch_size=100 # Files per batch
)
Contributions are welcome! Feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.