AgentSkillsCN

run-scraper

为特定国家和来源运行优惠券爬虫

SKILL.md
--- frontmatter
name: run-scraper
description: Run a coupon scraper for a specific country and source
argument-hint: [country] [source]
disable-model-invocation: true
allowed-tools: Bash(python *)

Run Coupon Scraper

Execute a Playwright scraper for a specific country and source combination.

Available Scrapers

CountrySourceScript
AUcuponationPlaywright/AU/scrap_cuponation_AU.py
AUlifehackerPlaywright/AU/scrap_lifehacker_AU.py
DEmydealzPlaywright/DE/scrap_mydealz_DE.py
DEsparweltPlaywright/DE/scrap_sparwelt_DE.py
ESchollometroPlaywright/ES/scrap_chollometro_ES.py
EScuponationPlaywright/ES/scrap_cuponation_ES.py
FRigraalPlaywright/FR/scrap_igraal_FR.py
FRmareducPlaywright/FR/scrap_mareduc_FR.py
ITcodice-scontoPlaywright/IT/scrap_codicescontonet_IT.py
ITcuponationPlaywright/IT/scrap_cuponation_IT.py
UKhotukdealsPlaywright/UK/scrap_hotukdeals_UK.py
UKvouchercodesPlaywright/UK/scrap_vouchercodes_UK.py
USretailmenotPlaywright/US/scrap_retailmenot_US.py
USsimplycodesPlaywright/US/scrap_simplycodes_US.py

Usage

When invoked with /run-scraper [country] [source]:

  1. Parse the arguments: $ARGUMENTS
  2. Find the matching script from the table above
  3. Run the script with Python:
    bash
    cd c:\Users\nmusicki\Documents\Python_Scripts\scrap_code\Playwright && python [script_path]
    

Examples

  • /run-scraper UK vouchercodes - Run VoucherCodes UK scraper
  • /run-scraper FR mareduc - Run Ma-Reduc France scraper
  • /run-scraper US - List all US scrapers available

Notes

  • Scripts read URLs from Google Sheets and write results back
  • Requires valid credentials in Playwright/credentials/
  • Some scrapers (VoucherCodes UK) may be blocked by Cloudflare on GCP