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 โฆ