#!/bin/bash
# Simple one-command login script for Properstar
cd "$(dirname "$0")"

echo "🔐 Paradisomatch - Properstar Login"
echo "================================"
echo ""
echo "Opening browser for Properstar login..."
echo "You have 3 minutes to log in."
echo ""

python3 timed_login.py

if [ $? -eq 0 ]; then
    echo ""
    echo "✅ Login successful! You can now:"
    echo "   • Click 'Full Update' button in UI"
    echo "   • Run automated scraping"
    echo "   • Everything works automatically!"
else
    echo ""
    echo "❌ Login failed. Please try again."
fi
