Azizi Universal Downloader - Google Colab to Google Drive
Security & Privacy Edition
A powerful Google Colab downloader that saves torrents, YouTube videos, playlists, audio, and direct links straight to Google Drive with enhanced security and privacy features.
فارسی: README.fa.md
Version: 1.5.0 - Security Edition
Status: Production Ready ✓
Release: January 2026
- ✅ BT Encryption Enforced:
arc4encryption mandatory on all torrent connections - ✅ IP Blocklists: 3 free sources blocking ~25,000 hostile IP ranges
- ✅ File Encryption: AES-256-GCM before uploading to Google Drive
- ✅ Credential Hardening: Owner-only access control (0o600)
- ✅ Privacy Fingerprinting: Customized user-agent and peer ID
- ✅ Secure Logging: Complete audit trail with sensitive data masking
- ✅ OWASP/NIST Compliance: Security standards implemented
- Copy the complete file
- Paste into Google Colab
- Run - all features auto-enabled
# File: AzuDL_GC2GD_v1.5.0_COMPLETE_COLAB.py
# Already includes:
# ✓ All dependencies
# ✓ All security modules
# ✓ All 3 notebook cells
# ✓ Ready to copy-paste into Colab- Direct HTTP/HTTPS/FTP links
- YouTube videos and playlists
- Torrent magnet links
.torrentfile downloads- Batch link downloads
- GitHub repository releases
- Private torrent mode with seeding
- End-to-end file encryption (AES-256-GCM)
- Mandatory BT encryption (arc4)
- IP blocklist support
- Privacy-focused aria2 configuration
- Secure credential storage
- Complete audit logging
- Direct downloads to Google Drive
- Automatic encryption before upload
- Folder organization
- Storage monitoring
- Verified transfer workflow
- Download history tracking
- SHA256/SHA512 checksums
- ZIP folder creation
- Latest file viewer
- Automatic cleanup options
1. Open: https://colab.research.google.com
2. Copy file content from:
https://github.com/pete000/AzuDL-GC2GD/blob/main/AzuDL_GC2GD_v1.5.0_COMPLETE_COLAB.py
3. Paste into Colab cell
4. Press Ctrl+Enter
Simply paste this into Colab:
!git clone https://github.com/pete000/AzuDL-GC2GD.git
%cd AzuDL-GC2GD
!python "AzuDL_GC2GD_v1.5.0_COMPLETE_COLAB.py"
downloader = TorrentDownloader()
downloader.start_aria2()
# Download torrent
downloader.download_torrent(
"magnet:?xt=urn:btih:...",
output_name="my_file"
)
# Encrypt and upload to Drive
downloader.encrypt_and_upload(
"/content/downloads/my_file",
password="secure_password",
cleanup_source=True
)from AzuDL_GC2GD_v1.5.0_COMPLETE_COLAB import FileEncryptor
encryptor = FileEncryptor()
# Encrypt
encryptor.encrypt_file(
"/path/to/file",
"/path/to/file.enc",
password="secure_password"
)
# Decrypt
encryptor.decrypt_file(
"/path/to/file.enc",
"/path/to/file",
password="secure_password"
)from AzuDL_GC2GD_v1.5.0_COMPLETE_COLAB import CONFIG_PRESETS
# Maximum privacy (slower)
preset = CONFIG_PRESETS["privacy_maximum"]
# Balanced (recommended)
preset = CONFIG_PRESETS["privacy_balanced"]
# Performance-focused
preset = CONFIG_PRESETS["privacy_performance"]AzuDL creates the following folder structure in Google Drive:
/MyDrive/AzuDL-GC2GD/
├── TorrentDownloads/
├── YouTubeDownloads/
├── DirectDownloads/
├── BatchDownloads/
├── GitHubDownloads/
├── Archives/
└── Logs/
├── aria2.log
├── aria2.session
├── azudl_YYYYMMDD_HHMMSS.log
└── blocklists/
Default configuration includes:
bt-require-crypto=true # Mandatory encryption
bt-min-crypto-level=arc4 # Minimum arc4 encryption
bt-force-encryption=true # Force all connections
bt-max-peers=55 # Limit peer connections
enable-dht=true # DHT enabled
enable-peer-exchange=true # PEX enabled
Automatic IP blocklist downloads from:
- Level 1: Spyware, adware, throttlers
- Level 2: Malware, trojans, botnets
- BadPeers: Malicious peers, honey pots
Algorithm: AES-256-GCM
Key Derivation: PBKDF2-SHA256
Iterations: 100,000 (OWASP compliant)
Authentication: HMAC-SHA256
- Use strong passwords (16+ characters, mixed case, symbols)
- Store passwords in secure password manager
- Encrypt sensitive files before uploading
- Keep session logs secure
- Use privacy-focused presets for sensitive content
- Don't share passwords via email/chat
- Don't disable BT encryption
- Don't trust unverified torrent sources
- Don't leave Colab notebooks unattended
- Don't commit credentials to Git
- Google Colab Timeout: Colab may disconnect idle sessions
- File Size Limits: Google Drive API has rate limits
- Bandwidth: Shared Colab resources may throttle transfers
- Legal: Only download content you have rights to download
| Type | Support | Notes |
|---|---|---|
| HTTP/HTTPS Direct | ✅ | Full support with custom headers |
| FTP Links | ✅ | Direct download |
| YouTube Videos | ✅ | Quality selection, audio-only |
| YouTube Playlists | ✅ | Batch video download |
| Magnet Links | ✅ | With encryption enforcement |
.torrent URLs |
✅ | Remote or local files |
| Private Torrents | ✅ | Seeding support |
| GitHub Releases | ✅ | Repository download |
# Check if aria2 is installed
!which aria2c
# Reinstall
!apt-get update && apt-get install -y aria2# Check password strength
# Verify file permissions
# Check disk space# Re-authenticate
drive.mount('/content/drive', force_remount=True)
# Check quotas
# Verify folder permissions# Switch to performance preset
# Reduce concurrent downloads
# Check network quality# Enable RPC for advanced control
# Configuration: enable-rpc=true
# RPC Port: 6800 (default)# Aria2 automatically saves session to:
# /content/drive/MyDrive/AzuDL-GC2GD/Logs/aria2.session
# Resume downloads on Colab restartlinks = [
"https://example.com/file1.zip",
"magnet:?xt=urn:btih:...",
"https://youtube.com/watch?v=..."
]
# Download all in sequence| File | Purpose |
|---|---|
README.md |
This file - Main documentation |
SECURITY_AUDIT.md |
Detailed security analysis (10 vulnerabilities fixed) |
README_SECURITY.md |
Complete security guide |
CHANGELOG.md |
Version history and roadmap |
azudl_security.py |
Standalone security module |
azudl_blocklists.py |
Standalone blocklist module |
| Metric | Value |
|---|---|
| Overhead | ~2-3% CPU |
| Memory Usage | ~150-200 MB |
| Encryption Speed | ~300-500 MB/s |
| Decryption Speed | ~300-500 MB/s |
| BT Connection Time | ~2-5 seconds |
| Blocklist Load Time | ~1-2 seconds |
| Standard | Status | Notes |
|---|---|---|
| OWASP Top 10 | ✅ | CWE-22, CWE-209, CWE-327 addressed |
| NIST SP 800-132 | ✅ | PBKDF2 100k iterations |
| Cryptography.io | ✅ | Best practices implemented |
| ISO 27001 | ✅ | Security controls |
| GDPR | ✅ | User-controlled, local processing |
MIT License - See LICENSE file
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Contributing: See CONTRIBUTING.md
- Pete000 - GitHub Profile
- Aria2: High-speed download utility
- yt-dlp: YouTube downloader
- Google Colab: Free cloud computing
- Cryptography.io: Secure crypto library
- Community: Contributors and testers
Last Updated: January 2026
Version: 1.5.0 - Security Edition
Status: ✅ Production Ready