SShortSingh.
Back to feed

How to scrape product prices, stock and GTIN from any online store

0
·5 views

You have a list of product pages from competitors, suppliers or resellers, and you need the price, the stock status and the barcode for each one in a spreadsheet. Copying them by hand works for ten products and falls apart at five hundred. Writing a scraper per store is worse, because every store lays out its pages differently. There is a shortcut. Most online stores already publish their product data in a machine readable form (Schema.org product markup and Open Graph product tags), because search engines and social previews need it.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How I Fixed My Drawing Tablet by Patching systemd's Hardware Database

I decided to take a break from tech and try my hands with something new, like digital art. So I fished out my drawing tablet from the bottom of the cupboard (it had been lying there collecting dirt for years). Naturally, my Linux config started out by rejecting it. I wanted to draw on Krita, so I connected the tablet to my laptop via USB. The lights on the tablet turned on, and I naively assumed that it was a good sign.

0
ProgrammingDEV Community ·

From APIs to AI Agents: How My Skills Apply to Today’s Software World

I’ve spent the past few years learning by building. Rather than limiting myself to one area of software development, I’ve explored backend engineering, frontend development, APIs, databases, cloud deployment, automation, AI agents, and cybersecurity. What I’ve realized is that these skills are becoming increasingly interconnected. Today, building a useful application isn't just about writing code. It can involve designing an API, creating a user interface, connecting databases, deploying to the cloud, automating repetitive processes, and increasingly, integrating AI into the workflow.

0
ProgrammingDEV Community ·

Feature Flag Management Admin Panel CRUD Explained (Rollback-Safe Checkout)

Short answer: build feature flag management in an admin panel as a reversible CRUD transaction with an evidence trail. Store the flag state, actor, request identifier, and a bounded outcome label before changing behavior; make rollback a single write that can be audited. In a property-management checkout flow, this boundary matters more than a clever screen. The panel is only a control surface. Keep it boring.