Automated recharge system for Orange Tunisia with math CAPTCHA solving
# Orange Tunisia Recharge Automation 🍊
Automated recharge system for Orange Tunisia with **multiple methods**:
- 🎫 **Scratch card recharge** - Math CAPTCHA (super easy!)
- 💳 **Credit card recharge** - reCAPTCHA with FREE audio bypass (~60% success) + 2Captcha fallback
## ✨ Features
### Scratch Card Recharge
- ✅ **No login required** - Direct recharge submission
- 🧮 **Math CAPTCHA solving** - Automatic equation solving (e.g., "10 + 7")
- 🚀 **Fast & reliable** - Clean GraphQL API
- 📊 **Clear responses** - Simple success/error detection
### Credit Card Recharge
- 💳 **Get payment URL** - Automated form filling + CAPTCHA bypass
- 🆓 **FREE reCAPTCHA bypass** - Audio challenge + speech recognition (~60-80% success)
- 💰 **2Captcha fallback** - Optional paid service (~99% success, $0.001/solve)
- 🔄 **Auto mode** - Try free first, fallback to paid ($0.30 per 1000 recharges)
- 🔧 **Production-ready** - Error handling and validation
## 🆚 Orange vs Ooredoo
| Feature | Orange | Ooredoo |
|---------|--------|---------|
| **Login** | ❌ Not needed | ✅ Required |
| **CAPTCHA Type** | Math equation | Text OCR |
| **Difficulty** | ⭐ Easy | ⭐⭐⭐ Medium |
| **API** | GraphQL | HTML forms |
| **Automation** | ⭐⭐⭐ Easy | ⭐⭐ Medium |
## 📋 Requirements
- Python 3.8+
- Chrome browser
- ChromeDriver (automatically managed by selenium)
## 🚀 Installation
1. **Clone the repository:**
```bash
git clone
github.com
cd orange-recharge-automation
```
2. **Install dependencies:**
```bash
pip install -r requirements.txt
```
## 💡 Usage
### Method 1: Scratch Card Recharge
**Basic:**
```bash
python orange_recharge.py
```
**Example:**
```bash
python orange_recharge.py 53028939 1234567890123
```
**Headless mode:**
```bash
python orange_recharge.py 53028939 1234567890123 --headless
```
### Method 2: Credit Card Recharge 💳
**FREE (audio CAPTCHA):**
```bash
python orange_creditcard.py 53028939 20
```
**With 2Captcha fallback (recommended …