Skip to content

πŸ” Automate affiliate statistics tracking on HagoBuy with headless Chrome using Selenium

Notifications You must be signed in to change notification settings

alexandroslekkas/hagobuy-affiliate-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 HagoBuy Affiliate Statistics Tracker 🌟

Automates logging into HagoBuy, navigating to the affiliate center, and extracting key statistics. Built with Selenium, it operates in headless mode for seamless automation.

πŸš€ Features

  • πŸ—οΈ Automated login to HagoBuy
  • πŸ“Š Navigation and extraction of affiliate statistics
  • πŸ•ΆοΈ Runs in headless mode for background execution
  • πŸ€– Sends extracted statistics via Telegram bot

πŸ“‹ Requirements

  • Python 3.6+
  • Selenium
  • ChromeDriver

βš™οΈ Installation

Clone the repository and set up the virtual environment:

git clone https://your-repo-link.git
cd hagobuy-affiliate-checker
python -m venv .venv
# Windows
.venv\\Scripts\\activate
# macOS/Linux
source .venv/bin/activate
pip install -r requirements.txt

πŸ”§ Configuration

Create a .env file in the root directory with your credentials:

# HagoBuy Account Credentials
HAGOBUY_ACCOUNT_EMAIL=your-email@example.com
HAGOBUY_ACCOUNT_PASSWORD=your_password

# Telegram Bot for Notifications
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id

πŸš€ Usage

Run the script with:

python main.py

The script logs into HagoBuy, navigates to the affiliate center, extracts statistics, and sends them via Telegram.

About

πŸ” Automate affiliate statistics tracking on HagoBuy with headless Chrome using Selenium

Topics

Resources

Stars

Watchers

Forks