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

url-scraping

Skill by jez500

Guides developers through scraping retailer URLs for Price Buddy, covering store setup, scrape strategies, price extraction, availability detection and debugging. It is written for maintainers of Price Buddy's scraping code.

  • Score 84
  • 1.5k stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install url-scraping

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jez500/pricebuddy /tmp/pricebuddy && mkdir -p ~/.claude/skills && cp -r /tmp/pricebuddy/.ai/skills/url-scraping ~/.claude/skills/url-scraping

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

Step-by-step: install url-scraping in Claude Code

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

About

This skill documents how Price Buddy extracts product data such as title, price, image and availability from retailer URLs. The pipeline resolves a store by matching the URL's domain, fetches the page with an HTTP or API scraper, extracts each field using the store's scrape strategy, and saves the price as a historical record. It covers strategy types including schema_org, CSS selector, XPath, regex and JSON, along with store settings, cookies and availability match rules.

It also explains auto store creation, retry and cache behaviour, and scheduled price fetching. A debugging section lists common problems such as missing store matches, selectors that no longer match and unparseable prices, with techniques like tinker calls and the store test URL. It is aimed at developers and maintainers working on Price Buddy.

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

What it can do

  • Store resolutionMatches a URL's host against each store's domains list to find the right store.
  • Scrape strategiesDefines how each field (title, price, image, availability) is extracted from the page.
  • Auto store creationDetects scrape settings for a new domain, trying Schema.org, selectors, then regex.
  • Availability matchingMaps scraped availability text to stock statuses using exact or regex match rules.
  • Price normalizationConverts price strings to floats with locale and currency awareness.
  • Scheduled price fetchingDescribes the batch job and cron schedule that update prices for all products.
  • Debugging guidanceLists common scraping failures and ways to test store resolution and selectors.

What you need

  • Price Buddy installation
  • Scraper API service for JavaScript-rendered pages (SCRAPER_BASE_URL)

Try asking

  • Debug why this retailer URL is not returning a price.
  • Add a store for example.com and configure its price selector.
  • Write an availability match config that maps pre-order text.

Good to know

  • Without a match config, any non-empty availability value maps to out of stock.
  • The API scraper is slower and more resource-intensive than the HTTP scraper.
  • Default scrape retries are 3 and sleep between scrapes is 10 seconds, both configurable in AppSettings.

Security check

A

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

Checked automatically: .ai/skills/url-scraping/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • references/scrape-strategy-examples.md4 KB

Alternatives to url-scraping

All alternatives →

Compare with shopify, shopify-development or ticketmaster

url-scraping: common questions

How does Price Buddy pick the right store for a URL?

It matches the URL's host against the domains array of each store using the domainFilter scope. Auto-created stores register both the bare domain and the www variant.

What should I do when a page shows prices only after JavaScript runs?

The source says to switch the store's scraper_service to api, which uses browser-based requests through a scraper API service.

Why does price extraction return null?

The selector matched, but CurrencyHelper::toFloat() could not parse the value. Currency symbols, thousands separators or non-numeric text are common causes.

How do I install url-scraping?

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

Is url-scraping free?

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

Is url-scraping safe to use?

It scores 84 of 100. Grades: maintenance A, licence C, quality A. 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 url-scraping?

Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.

url-scraping Install

Add to stack

Loading.