Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

scraper

Skill by duyet

Adds, debugs and modifies price scrapers for e-commerce sites such as Shopee, Lazada and Tiki. Aimed at developers maintaining PriceTrack's scraper configs and pullData module.

  • Score 70
  • 141 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install scraper

Built from the published package, never by AI.

git clone --depth 1 https://github.com/duyet/pricetrack /tmp/pricetrack && mkdir -p ~/.claude/skills && cp -r /tmp/pricetrack/.claude/skills/scraper ~/.claude/skills/scraper

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install scraper in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The scraper skill helps an AI assistant work on PriceTrack's price scrapers for e-commerce sites such as Shopee, Lazada and Tiki. It covers adding a new site, debugging an existing one and changing scraping logic. Each site has a config file in functions/config that holds a URL pattern, CSS selectors and optional transform functions.

A generic pull module, functions/modules/pullData.js, reads these configs and fetches product pages. It uses Puppeteer-core with @sparticuz/chromium for JavaScript-rendered pages, jsdom for static HTML and axios for simple HTTP requests. The source also lists updateInfo.js for product info updates and utils/fetch.js for HTTP fetch utilities. The skill is aimed at developers maintaining PriceTrack's Firebase Functions scraping code.

Written from the project's SKILL.md and checked against it.

What it can do

  • Add a new site scraperCreate a site config with a URL pattern and selectors, then register it in the config index.
  • Test a scraperRun pullData from the Firebase functions shell with a product URL.
  • Debug scrapersCheck Firebase Functions logs and headless Chromium constraints when a scraper fails.
  • Modify scraping logicChange the generic pullData module that reads the site configs.
  • Verify scraped dataCheck that the scraped data structure matches what pullData expects.

What you need

  • PriceTrack codebase with a functions directory
  • Firebase CLI for the functions shell and logs
  • Puppeteer-core and @sparticuz/chromium for JavaScript-rendered pages

Try asking

  • Add a scraper config for a new e-commerce site in functions/config
  • Debug why the Shopee price scraper stopped returning data
  • Test pullData with a Lazada product URL in the functions shell

Good to know

  • Puppeteer scrapers run headless on serverless Chromium with no GPU and limited memory.
  • @sparticuz/chromium has size limits and needs checking for updates.
  • Some sites require specific headers or cookie consent handling.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/scraper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md2 KB

Alternatives to scraper

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

scraper: common questions

Which sites does the PriceTrack scraper skill cover?

The source names Shopee, Lazada and Tiki as examples, followed by 'etc.', so other sites are possible. Each site has its own config file under functions/config.

How are scraper configs structured?

Each config exports a urlPattern regex, selectors for fields such as price, title and image, and optional transform functions.

How are scrapers debugged?

The source points to Firebase Functions logs. It also notes that serverless headless Chromium has no GPU and limited memory, and that some sites need special headers or cookie handling.

How do I install scraper?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is scraper free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is scraper safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to scraper?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

scraper Install

Add to stack

Loading.