Price Monitor FR

# Price Monitor

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Price Monitor FR" with this command: npx skills add HugoSbl/price-monitor-fr

Price Monitor

Surveille les prix de produits sur des sites e-commerce et alerte quand ils baissent.

Usage

python skills/price-monitor/scripts/monitor.py <command> [options]

Commands

CommandeDescription
add <url> [--name "Nom"] [--target-price 50]Ajouter un produit à surveiller
listLister les produits surveillés
check [--all] [id]Vérifier les prix (un ou tous)
remove <id>Supprimer un produit
history <id>Historique des prix d'un produit
alertsVoir les alertes de baisse de prix

Options globales

  • --json — Output JSON au lieu du texte formaté

Sites supportés

  • Amazon.fra-offscreen, data-a-color="price"
  • Fnac.com — meta tags, f-priceBox-price
  • Cdiscountc-product__price, itemprop
  • Boulangerclass="price", itemprop
  • Générique — og:price → JSON-LD → itemprop → regex €

Extracteur générique (ordre de priorité)

  1. <meta property="og:price:amount">
  2. JSON-LD schema.org ("price":"XX.XX")
  3. itemprop="price"
  4. Regex fallback sur patterns XX,XX €

Alertes

  • Prix cible atteint : prix actuel ≤ target-price → 🎯
  • Baisse > 5% par rapport au dernier check → 🔥
  • Format : Amazon PS5 : 449€ → 399€ (-11%) 🔥

Stockage

  • ~/.price-monitor/products.json — Liste des produits
  • ~/.price-monitor/history/<id>.json — Historique par produit
  • ~/.price-monitor/alerts.json — Alertes enregistrées

Exemples

# Ajouter un produit
python monitor.py add "https://www.amazon.fr/dp/B0BN..." --name "PS5" --target-price 400

# Vérifier tous les prix
python monitor.py check --all

# Historique
python monitor.py history abc12345

# Alertes en JSON
python monitor.py --json alerts

Technique

  • Python stdlib uniquement (urllib, json, re)
  • User-Agent Chrome réaliste
  • Timeout 10s par requête
  • Voir references/extractors.md pour ajouter des sites

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Speech Writer

演讲稿(TED风格)、婚礼致辞、商务演讲、励志演讲、祝酒词、演讲大纲。Speech writing for TED-style talks, wedding speeches, business presentations, motivational speeches, toasts, and outlines....

Registry SourceRecently Updated
General

Study Plan

学习计划生成器。考研计划、考证规划、每日学习、番茄钟。Study plan generator for exams, certifications, daily schedules. 学习计划、考研计划、备考规划。Use when creating study schedules.

Registry SourceRecently Updated
General

Quicknote

Lightning-fast note-taking tool. Capture thoughts instantly, pin important notes, search across all entries, and export to markdown. Zero config, local stora...

Registry SourceRecently Updated
General

feishu-emoji

在飞书聊天中发送内联表情包图片,需将图片下载到指定媒体目录并通过 message 工具调用发送。

Registry SourceRecently Updated