Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

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

Notifications You must be signed in to change notification settings

alexandros-lekkas/hagobuy-affiliate-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HagoBuy Affiliate Checker πŸ”

Automate affiliate statistics tracking on HagoBuy with headless Chrome using Selenium.

About πŸ“–

This project has been archived. HagoBuy has shut down so this is no longer in use but the code may work for other shipping agents. This solution was built due to the fact that HagoBuy did not provide built in tools for statistic tracking.

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