Date: 14-01-2026 01:05 (MAJ 01:50) Status: TERMINE
Creer un service d'automatisation browser pour acceder aux fonctionnalites bloquees par les APIs officielles (LinkedIn connections, messages, Gmail).
/stock_8to/33800-stack/docker/stacks/browser-connector/| Endpoint | Methode | Description |
|---|---|---|
/api/linkedin/login |
GET | Connexion au compte |
/api/linkedin/status |
GET | Statut de connexion |
/api/linkedin/profile |
GET | Profil complet |
/api/linkedin/connections?limit=N |
GET | Liste des connexions |
/api/linkedin/messages?limit=N |
GET | Messages recents |
/api/linkedin/notifications |
GET | Notifications |
/api/linkedin/message |
POST | Envoyer un message |
/api/linkedin/debug/screenshot |
GET | Screenshot de la page |
/api/linkedin/debug/html |
GET | HTML de la page |
Gmail bloque les connexions automatisees (detection de bot stricte). Pour Gmail, utiliser l'API officielle OAuth via connectors-api.
| Endpoint | Methode | Status |
|---|---|---|
/api/gmail/login |
GET | BLOQUE (2FA Google) |
/api/gmail/inbox |
GET | Non teste |
/api/gmail/send |
POST | Non teste |
Les identifiants sont stockes dans /stock_8to/33800-stack/docker/secrets/prod.env:
# LinkedIn (browser automation)
LINKEDIN_EMAIL=gouroubleu@gmail.com
LINKEDIN_PASSWORD=MyUlia75$$w
# Gmail (browser automation - non fonctionnel)
GMAIL_EMAIL=gouroubleu@gmail.com
GMAIL_PASSWORD=MyUlia75$$w
Note: Le $ doit etre echappe en $$ dans les fichiers .env pour Docker.
/stock_8to/33800-stack/docker/stacks/browser-connector/
├── Dockerfile
├── docker-compose.yml
├── package.json
└── src/
├── index.ts # API Elysia
├── sessions.ts # Gestion sessions Redis
└── browsers/
├── linkedin.ts # Automatisation LinkedIn
└── gmail.ts # Automatisation Gmail (non fonctionnel)
Mot de passe tronque: Le $w dans MyUlia75$w etait interprete comme variable shell
$$ dans prod.envLinkedIn 2FA: Premier login bloque par checkpoint securite
Connexions vides: Les selecteurs CSS ont change sur LinkedIn
/in/Gmail bloque: Google detecte Playwright comme bot
# Test health
curl http://192.168.1.12:5401/health
# Login LinkedIn
curl http://192.168.1.12:5401/api/linkedin/login
# Profil LinkedIn
curl http://192.168.1.12:5401/api/linkedin/profile
# Connexions
curl "http://192.168.1.12:5401/api/linkedin/connections?limit=10"
# Messages
curl "http://192.168.1.12:5401/api/linkedin/messages?limit=5"
# Logs container
docker logs browser-connector --tail 50
Domaines ajoutes a /etc/pihole/custom.list