Website Auto-Fill from Parser Data

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.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1230
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1167
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    863
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1077
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    829
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    843

Implementing Auto-Fill Website from Parser

Auto-fill is the bridge between parser and CMS: data collected from external sources automatically appears on the site as products, articles, announcements, or profiles. The task involves not just import, but normalization, conflict handling, and content management.

System Architecture

Parser → Raw data → Processor → Normalized data → Import Queue
                                                        ↓
                                                   CMS / Site DB
                                                        ↓
                                           Status: draft / published

Direct import from parser to site database is bad practice. You need an intermediate queue with data validation before publication.

Field Mapping

Each source has its own structure. Mapping configuration:

{
  "source": "supplier_catalog",
  "mappings": {
    "title": "$.name",
    "description": "$.full_description",
    "price": "$.price_rub",
    "category": { "field": "$.category_id", "transform": "category_map" },
    "images": "$.photos[*].url",
    "sku": "$.article"
  },
  "category_map": {
    "1": "electronics",
    "2": "clothing",
    "15": "home-garden"
  }
}

JSONPath mapping allows you to adapt a new source without code changes—only configuration.

Image Processing

Images from the source are downloaded, optimized, and uploaded to own storage:

async def process_image(url: str, product_id: int) -> str:
    async with httpx.AsyncClient() as client:
        resp = await client.get(url, timeout=30)

    img = Image.open(BytesIO(resp.content))
    img = img.convert('RGB')

    # resize preserving aspect ratio
    img.thumbnail((1200, 1200), Image.LANCZOS)

    # save as WebP
    output = BytesIO()
    img.save(output, 'WEBP', quality=85)

    # upload to S3/MinIO
    s3_key = f'products/{product_id}/{uuid4()}.webp'
    s3.put_object(Bucket=BUCKET, Key=s3_key, Body=output.getvalue())

    return f'https://cdn.example.com/{s3_key}'

Quality Control

Before publication, data passes validation:

  • Required fields are filled (title, price, at least one photo)
  • Price is within acceptable range (protection from source errors: 0 or 999,999,999)
  • Description is not shorter than N characters
  • Images are accessible and have adequate size

Records that fail validation are marked as review_required and need manual review.

Publication Strategies

  • Auto-publish — content from trusted sources publishes immediately
  • Draft — content is created, editor publishes
  • Diff-update — when source data changes, only changed fields update, not entire material

Timeline

Auto-fill system for CMS with one source and basic validation: 5–8 days. With multiple sources, UI for managing mappings, and moderation system: 15–20 days.