Product Reviews Scraper Bot from External Platforms

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1 servicesAll 2065 services
Product Reviews Scraper Bot from External Platforms
Medium
~3-5 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Developing a Product Review Scraper Bot

Reviews from marketplaces and aggregators are valuable content for product cards: increase trust, add keywords to UGC, impact SEO through structured data. A scraper collects reviews, normalizes them, and imports them into the store database.

Sources and Access Methods

Platform Method Features
Wildberries JSON API Open API, pagination
Ozon Playwright SPA, requires auth
Google Reviews Places API Paid, official
iHerb HTML / JSON API Structured HTML

Wildberries: Parsing via JSON API

# scraper/reviews/wildberries.py
import httpx
import asyncio
from dataclasses import dataclass

@dataclass
class Review:
    external_id: str
    product_nm_id: int
    author: str
    rating: int
    text: str
    pros: str | None
    cons: str | None
    date: str
    helpful_count: int

class WildberriesReviewScraper:
    REVIEWS_URL = "https://feedbacks2.wb.ru/feedbacks/v2/{nm_id}"

    async def get_reviews(self, nm_id: int, take: int = 100) -> list[Review]:
        all_reviews = []
        skip = 0

        while True:
            params = {"immt": nm_id, "skip": skip, "take": take, "order": "dateDesc"}
            resp = await self.client.get(self.REVIEWS_URL.format(nm_id=nm_id), params=params)
            resp.raise_for_status()

            data = resp.json()
            feedbacks = data.get("feedbacks", [])

            if not feedbacks:
                break

            for fb in feedbacks:
                all_reviews.append(self._normalize(nm_id, fb))

            skip += take
            await asyncio.sleep(1.0)

            if skip >= 1000:
                break

        return all_reviews

Laravel Job with Duplicate Processing

// app/Jobs/ImportProductReviews.php
class ImportProductReviews implements ShouldQueue
{
    public int $tries = 3;

    public function handle(ReviewImportService $service): void
    {
        $mapping = ProductReviewMapping::where('product_id', $this->productId)->firstOrFail();
        $reviews = $this->scrape($mapping->external_id);

        $imported = $skipped = 0;

        foreach ($reviews as $reviewData) {
            // Deduplication by external_id + source
            $exists = ProductReview::where([
                'source'      => $this->source,
                'external_id' => $reviewData['external_id'],
            ])->exists();

            if ($exists) {
                $skipped++;
                continue;
            }

            $service->import($this->productId, $this->source, $reviewData);
            $imported++;
        }

        Log::info("Reviews imported", [
            'product_id' => $this->productId,
            'imported'   => $imported,
            'skipped'    => $skipped,
        ]);
    }
}

Moderation and Filtering

class ReviewImportService
{
    private array $stopWords = ['buy', 'discount', 'promo', 'vk.com', 't.me'];

    public function import(int $productId, string $source, array $data): ?ProductReview
    {
        // Filter too short reviews
        if (mb_strlen($data['text']) < 20) return null;

        // Filter stop words (spam)
        foreach ($this->stopWords as $word) {
            if (mb_stripos($data['text'], $word) !== false) return null;
        }

        return ProductReview::create([
            'product_id'  => $productId,
            'source'      => $source,
            'external_id' => $data['external_id'],
            'author'      => $this->anonymizeAuthor($data['author']),
            'rating'      => max(1, min(5, (int) $data['rating'])),
            'text'        => $this->sanitize($data['text']),
            'verified'    => $data['verified'] ?? false,
            'status'      => 'pending',
        ]);
    }
}

Development Timeline

One marketplace parser with moderation and structured data: 3-5 business days.