wallapop search bot
bot de Telegram para gestionar busquedas sobre wallapop
- Notifica cuando encuentra alguna busqueda
- Avisa cuando algún ítem baja de precio
- Permite gestionar tu lista de ítems
pip3 install -r requirements.txt
docker build --tag z0r3f/wallbot-docker:latest .$version = Get-Content "VERSION"version=`cat VERSION`docker tag z0r3f/wallbot-docker:latest z0r3f/wallbot-docker:$versiondocker push z0r3f/wallbot-docker:latest
docker push z0r3f/wallbot-docker:$versiondocker imagesdocker run --name wallbot --env BOT_TOKEN=<YOUR-TOKEN> z0r3f/wallbot-docker:latestdocker save -o wallbot-docker.tar z0r3f/wallbot-docker:latestwallapop_bot/
├── __init__.py
├── main.py # Punto de entrada principal
├── config/
│ ├── __init__.py
│ ├── settings.py # Configuración general
│ └── constants.py # Constantes (emojis, URLs)
├── database/
│ ├── __init__.py
│ ├── db_helper.py # Tu DBHelper actual
│ ├── models.py # Clases ChatSearch, Item
│ └── migrations.py # Migraciones de BD
├── telegram/
│ ├── __init__.py
│ ├── bot.py # Configuración del bot
│ ├── handlers.py # Manejadores de comandos
│ └── notifications.py # Función notel y similares
├── wallapop/
│ ├── __init__.py
│ ├── api_client.py # Cliente API Wallapop
│ ├── search.py # Lógica de búsqueda
│ └── item_processor.py # Procesamiento de items
├── utils/
│ ├── __init__.py
│ ├── logger.py # Configuración de logging
│ ├── currency.py # Utilidades de moneda
│ └── exceptions.py # Excepciones personalizadas
└── requirements.txt