E-Commerce Stock Scraper Build
Budget: $10 – $30 USD
I’m looking for a reliable way to monitor inventory on an e-commerce site. The goal is straightforward: scrape stock and availability information, nothing else.
Here’s what I need:
• A script that navigates the product pages, locates the inventory or “in-stock / out-of-stock” element, and extracts its current value.
• XPath selectors should be used so the code stays readable and easy to tweak if the site layout shifts.
• Clean HTML parsing, preferably with a mainstream library such as lxml, BeautifulSoup, or a similar tool you’re comfortable with.
• Output saved to a simple CSV or JSON file that lists product URL, timestamp, and stock status; if you prefer a lightweight SQLite database instead, I’m open to that.
• Basic error handling so the scraper skips broken links, waits politely, and logs issues without crashing.
• Clear setup instructions so I can run the scraper on my own machine (Windows or Linux) or schedule it via cron.
I’m only interested in the inventory figures, not prices, descriptions, or user reviews. If you’ve done similar e-commerce scraping before, please mention it and share a quick demo or code snippet so I can see your approach.
Here’s what I need:
• A script that navigates the product pages, locates the inventory or “in-stock / out-of-stock” element, and extracts its current value.
• XPath selectors should be used so the code stays readable and easy to tweak if the site layout shifts.
• Clean HTML parsing, preferably with a mainstream library such as lxml, BeautifulSoup, or a similar tool you’re comfortable with.
• Output saved to a simple CSV or JSON file that lists product URL, timestamp, and stock status; if you prefer a lightweight SQLite database instead, I’m open to that.
• Basic error handling so the scraper skips broken links, waits politely, and logs issues without crashing.
• Clear setup instructions so I can run the scraper on my own machine (Windows or Linux) or schedule it via cron.
I’m only interested in the inventory figures, not prices, descriptions, or user reviews. If you’ve done similar e-commerce scraping before, please mention it and share a quick demo or code snippet so I can see your approach.
Related categories:
PHP
JavaScript
Python
Web Scraping
SQLite
Data Extraction
BeautifulSoup
Automation