Как наскрести целевые продукты: 2025 Руководство

Следуйте этому практическому руководству 2025 года, чтобы отскрести списки товаров Target с помощью Python, Selenium, Scraping Browser и инструментов Bright Data MCP, основанных на искусственном интеллекте.
12 мин. чтения
How to Scrape Target blog

Target – один из самых сложных сайтов электронной коммерции, который сегодня трудно отскрести. Благодаря динамическим CSS-селекторам, ленивой загрузке контента и мощной системе блокировки это может показаться невозможным. К концу этого руководства вы сможете скреативить Target как профессионал. Мы рассмотрим два разных способа извлечения списков товаров.

  • Как скрапировать цель с помощью Python и Scraping Browser
  • Как скреативить Target с помощью Claude и MCP Server от Bright Data

Как скреативить цель с помощью Python

Мы рассмотрим процесс извлечения объявлений Target вручную с помощью Python. Контент Target загружается динамически, поэтому без безголового браузера результаты часто бывают в лучшем случае нечеткими. Сначала мы выполним запросы с помощью Requests и BeautifulSoup. Затем мы займемся извлечением контента с помощью Selenium.

Осмотр участка

Прежде чем приступить к кодированию, нам необходимо изучить страницу результатов Target. Если вы осмотрите страницу, то заметите, что все карточки товаров имеют значение data-test @web/site-top-of-funnel/ProductCardWrapper. Мы будем использовать это значение в качестве CSS-селектора при извлечении наших данных.

Карточки с целевыми товарами

Запросы Python и BeautifulSoup не работают

Если у вас нет Requests и BeautifulSoup, вы можете установить их с помощью pip.

pip install requests beautifulsoup4

В приведенном ниже коде показан базовый скребок, который мы можем использовать. Мы устанавливаем наши заголовки, используя наш ключ API Bright Data и application/json. Наши данные содержат фактическую конфигурацию, такую как название зоны, целевой URL и формат. Найдя карточки товаров, мы перебираем их и извлекаем название, ссылку и цену каждого товара.

Все извлеченные продукты сохраняются в массиве, а затем мы записываем массив в JSON-файл, когда поиск завершен. Обратите внимание на утверждения continue, когда элементы не найдены. Если продукт находится на странице без этих элементов, значит, его загрузка не завершена. Без браузера мы не можем отобразить страницу, чтобы дождаться загрузки содержимого.

import requests
from bs4 import BeautifulSoup
import json

#headers to send to the web unlocker api
headers = {
    "Authorization": "your-bright-data-api-key",
    "Content-Type": "application/json"
}

#our configuration
data = {
    "zone": "web_unlocker1",
    "url": "https://www.target.com/s?searchTerm=laptop",
    "format": "raw",
}

#send the request to the api
response = requests.post(
    "https://api.brightdata.com/request",
    json=data,
    headers=headers
)


#array for scraped products
scraped_products = []

card_selector = "@web/site-top-of-funnel/ProductCardWrapper"

#parse them with beautifulsoup
soup = BeautifulSoup(response.text, "html.parser")
cards = soup.select(f"div[data-test='{card_selector}']")

#log the amount of cards found for debugging purposes
print("products found", len(cards))


#iterate through the cards
for card in cards:
    #find the product data
    #if a product hasn't loaded yet, drop it from the list

    listing_text = card.text
    link_element = card.select_one("a[data-test='product-title']")

    if not link_element:
        continue
    title = link_element.get("aria-label").replace("\"")
    link = link_element.get("href")
    price = card.select_one("span[data-test='current-price'] span")
    if not price:
        continue

    product_info = {
        "title": title,
        "link": f"https://www.target.com{link}",
        "price": price.text
    }

    #add the extracted product to our scraped data
    scraped_products.append(product_info)

#write our extracted data to a JSON file
with open("output.json", "w", encoding="utf-8") as file:
    json.dump(scraped_products, file, indent=4)

Пропуск нерендерированных объектов сильно ограничивает количество извлекаемых данных. Как видно из приведенных ниже результатов, нам удалось извлечь только четыре полных результата.

[
    {
        "title": "Lenovo LOQ 15 15.6\" 1920 x 1080 FHD 144Hz Gaming Laptop Intel Core i5-12450HX 12GB RAM DDR5 512GB SSD NVIDIA GeForce RTX 3050 6GB Luna Grey",
        "link": "https://www.target.com/p/lenovo-loq-15-15-6-1920-x-1080-fhd-144hz-gaming-laptop-intel-core-i5-12450hx-12gb-ram-ddr5-512gb-ssd-nvidia-geforce-rtx-3050-6gb-luna-grey/-/A-93972673#lnk=sametab",
        "price": "$569.99"
    },
    {
        "title": "Lenovo Flex 5i 14\" WUXGA 2-in-1 Touchscreen Laptop, Intel Core i5-1235U, 8GB RAM, 512GB SSD, Intel Iris Xe Graphics, Windows 11 Home",
        "link": "https://www.target.com/p/lenovo-flex-5i-14-wuxga-2-in-1-touchscreen-laptop-intel-core-i5-1235u-8gb-ram-512gb-ssd-intel-iris-xe-graphics-windows-11-home/-/A-91620960#lnk=sametab",
        "price": "$469.99"
    },
    {
        "title": "HP Envy x360 14\" Full HD 2-in-1 Touchscreen Laptop, Intel Core 5 120U, 8GB RAM, 512GB SSD, Windows 11 Home",
        "link": "https://www.target.com/p/hp-envy-x360-14-full-hd-2-in-1-touchscreen-laptop-intel-core-5-120u-8gb-ram-512gb-ssd-windows-11-home/-/A-92708401#lnk=sametab",
        "price": "$569.99"
    },
    {
        "title": "HP Inc. Essential Laptop Computer 17.3\" HD+ Intel Core 8 GB memory; 256 GB SSD",
        "link": "https://www.target.com/p/hp-inc-essential-laptop-computer-17-3-hd-intel-core-8-gb-memory-256-gb-ssd/-/A-92469343#lnk=sametab",
        "price": "$419.99"
    }
]

С помощью Requests и BeautifulSoup мы можем перейти на страницу, но не можем загрузить все результаты.

Скрапинг с помощью Python Selenium

Нам нужен браузер, чтобы отобразить страницу. Здесь на помощь приходит Selenium. Выполните приведенную ниже команду, чтобы установить Selenium.

pip install selenium

В приведенном ниже коде мы подключаемся к удаленному экземпляру Selenium с помощью Scraping Browser. Обратите внимание на фактический код. Наша логика здесь в основном такая же, как и в примере выше. Большая часть дополнительного кода, который вы видите ниже, – это обработка ошибок и запрограммированное ожидание загрузки содержимого страницы.

from selenium.webdriver import Remote, ChromeOptions
from selenium.webdriver.chromium.remote_connection import ChromiumRemoteConnection
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import NoSuchElementException, TimeoutException
import json
import time
import sys

AUTH = 'brd-customer-<your-username>-zone-<your-zone-name>:<your-password>'
SBR_WEBDRIVER = f'https://{AUTH}@brd.superproxy.io:9515'

def safe_print(*args):
    #force safe ascii-only output on windows terminals
    text = " ".join(str(arg) for arg in args)
    try:
        sys.stdout.write(text + '\n')
    except UnicodeEncodeError:
        sys.stdout.write(text.encode('ascii', errors='replace').decode() + '\n')

#our actual runtime
def main():

    #array for scraped products
    scraped_products = []
    card_selector = "@web/site-top-of-funnel/ProductCardWrapper"

    safe_print('Connecting to Bright Data SBR Browser API...')

    #remote connection config to scraping browser
    sbr_connection = ChromiumRemoteConnection(SBR_WEBDRIVER, 'goog', 'chrome')

    #launch scraping browser
    with Remote(sbr_connection, options=ChromeOptions()) as driver:
        safe_print('Connected! Navigating...')
        driver.get("https://www.target.com/s?searchTerm=laptop")

        #set a 30 second timeout for items to load
        wait = WebDriverWait(driver, 30)

        safe_print('Waiting for initial product cards...')
        try:
            wait.until(
                EC.presence_of_element_located((By.CSS_SELECTOR, f"div[data-test='{card_selector}']"))
            )
        except TimeoutException:
            safe_print("No product cards loaded at all — possible block or site structure change.")
            return

        #get the document height for some scrolling math
        safe_print('Starting pixel-step scroll loop...')
        last_height = driver.execute_script("return document.body.scrollHeight")
        scroll_attempt = 0
        max_scroll_attempts = 10

        #gently scroll down the page
        while scroll_attempt < max_scroll_attempts:
            driver.execute_script("window.scrollBy(0, window.innerHeight);")
            time.sleep(1.5)
            new_height = driver.execute_script("return document.body.scrollHeight")
            if new_height == last_height:
                safe_print("Reached page bottom.")
                break
            last_height = new_height
            scroll_attempt += 1

        safe_print("Scrolling done — doing final settle nudges to keep session alive...")
        try:
            for _ in range(5):
                driver.execute_script("window.scrollBy(0, -50); window.scrollBy(0, 50);")
                time.sleep(1)
        except Exception as e:
            safe_print(f"Connection closed during final settle: {type(e).__name__} — {e}")
            return

        #now that everything's loaded, find the product cards
        safe_print("Scraping product cards...")
        try:
            product_cards = driver.find_elements(By.CSS_SELECTOR, f"div[data-test='{card_selector}']")
            safe_print(f"Found {len(product_cards)} cards.")
        except Exception as e:
            safe_print(f"Failed to find product cards: {type(e).__name__} — {e}")
            return

        #drop empty cards and extract data from the rest
        for card in product_cards:
            inner_html = card.get_attribute("innerHTML").strip()
            if not inner_html or len(inner_html) < 50:
                continue

            safe_print("\n--- CARD HTML (truncated) ---\n", inner_html[:200])

            try:
                link_element = card.find_element(By.CSS_SELECTOR, "a[data-test='product-title']")
                title = link_element.get_attribute("aria-label") or link_element.text.strip()
                link = link_element.get_attribute("href")
            except NoSuchElementException:
                safe_print("Link element not found in card, skipping.")
                continue

            try:
                price_element = card.find_element(By.CSS_SELECTOR, "span[data-test='current-price'] span")
                price = price_element.text.strip()
            except NoSuchElementException:
                price = "N/A"

            product_info = {
                "title": title,
                "link": f"https://www.target.com{link}" if link and link.startswith("/") else link,
                "price": price
            }
            scraped_products.append(product_info)

    #write the extracted products to a json file
    if scraped_products:
        with open("scraped-products.json", "w", encoding="utf-8") as file:
            json.dump(scraped_products, file, indent=2)
        safe_print(f"Done! Saved {len(scraped_products)} products to scraped-products.json")
    else:
        safe_print("No products scraped — nothing to save.")

if __name__ == '__main__':
    main()

Как видите, с помощью Selenium мы получаем более полные результаты. Вместо четырех объявлений мы можем извлечь восемь. Это гораздо лучше, чем наша первая попытка.

[
  {
    "title": "Lenovo LOQ 15 15.6\" 1920 x 1080 FHD 144Hz Gaming Laptop Intel Core i5-12450HX 12GB RAM DDR5 512GB SSD NVIDIA GeForce RTX 3050 6GB Luna Grey",
    "link": "https://www.target.com/p/lenovo-loq-15-15-6-1920-x-1080-fhd-144hz-gaming-laptop-intel-core-i5-12450hx-12gb-ram-ddr5-512gb-ssd-nvidia-geforce-rtx-3050-6gb-luna-grey/-/A-93972673#lnk=sametab",
    "price": "$569.99"
  },
  {
    "title": "Lenovo Flex 5i 14\" WUXGA 2-in-1 Touchscreen Laptop, Intel Core i5-1235U, 8GB RAM, 512GB SSD, Intel Iris Xe Graphics, Windows 11 Home",
    "link": "https://www.target.com/p/lenovo-flex-5i-14-wuxga-2-in-1-touchscreen-laptop-intel-core-i5-1235u-8gb-ram-512gb-ssd-intel-iris-xe-graphics-windows-11-home/-/A-91620960#lnk=sametab",
    "price": "$469.99"
  },
  {
    "title": "HP Inc. Essential Laptop Computer 15.6\" HD Intel Core i5 8 GB memory; 256 GB SSD",
    "link": "https://www.target.com/p/hp-inc-essential-laptop-computer-15-6-hd-intel-core-i5-8-gb-memory-256-gb-ssd/-/A-1002589475#lnk=sametab",
    "price": "$819.99"
  },
  {
    "title": "HP Envy x360 14\" Full HD 2-in-1 Touchscreen Laptop, Intel Core 5 120U, 8GB RAM, 512GB SSD, Windows 11 Home",
    "link": "https://www.target.com/p/hp-envy-x360-14-full-hd-2-in-1-touchscreen-laptop-intel-core-5-120u-8gb-ram-512gb-ssd-windows-11-home/-/A-92708401#lnk=sametab",
    "price": "$569.99"
  },
  {
    "title": "Lenovo Legion Pro 7i 16\" WQXGA OLED 240Hz Gaming Notebook Intel Core Ultra 9 275HX 32GB RAM 1TB SSD NVIDIA GeForce RTX 5070Ti Eclipse Black",
    "link": "https://www.target.com/p/lenovo-legion-pro-7i-16-wqxga-oled-240hz-gaming-notebook-intel-core-ultra-9-275hx-32gb-ram-1tb-ssd-nvidia-geforce-rtx-5070ti-eclipse-black/-/A-1002300555#lnk=sametab",
    "price": "$2,349.99"
  },
  {
    "title": "Lenovo LOQ 15.6\" 1920 x 1080 FHD 144Hz Gaming Notebook Intel Core i5-12450HX 12GB DDR5 512GB SSD NVIDIA GeForce 2050 4GB DDR6 Luna Grey",
    "link": "https://www.target.com/p/lenovo-loq-15-6-1920-x-1080-fhd-144hz-gaming-notebook-intel-core-i5-12450hx-12gb-ddr5-512gb-ssd-nvidia-geforce-2050-4gb-ddr6-luna-grey/-/A-1000574845#lnk=sametab",
    "price": "$519.99"
  },
  {
    "title": "HP Envy x360 14\u201d WUXGA 2-in-1 Touchscreen Laptop, AMD Ryzen 5 8640HS, 16GB RAM, 512GB SSD, Windows 11 Home",
    "link": "https://www.target.com/p/hp-envy-x360-14-wuxga-2-in-1-touchscreen-laptop-amd-ryzen-5-8640hs-16gb-ram-512gb-ssd-windows-11-home/-/A-92918585#lnk=sametab",
    "price": "$669.99"
  },
  {
    "title": "Acer Aspire 3 - 15.6\" Touchscreen Laptop AMD Ryzen 5 7520U 2.80GHz 16GB RAM 1TB SSD W11H - Manufacturer Refurbished",
    "link": "https://www.target.com/p/acer-aspire-3-15-6-touchscreen-laptop-amd-ryzen-5-7520u-2-80ghz-16gb-1tb-w11h-manufacturer-refurbished/-/A-93221896#lnk=sametab",
    "price": "$299.99"
  }
]

Наши результаты здесь лучше, но мы можем улучшить их еще больше – с меньшими трудозатратами и нулевым кодом.

Как скрафтить цель с помощью Claude

Далее мы рассмотрим и выполним ту же задачу, используя Claude с MCP-сервером Bright Data. Для начала откройте Claude Desktop. Убедитесь, что у вас активны зоны Web Unlocker и Scraping Browser. Scraping Browser не требуется для MCP-сервера, но для Target требуется браузер.

Настройка соединения MCP

На рабочем столе Claude Desktop нажмите “Файл” и выберите “Настройки”. Нажмите на “Разработчик”, а затем выберите “Редактировать конфигурацию”. Скопируйте и вставьте приведенный ниже код в свой файл конфигурации. Не забудьте заменить API-ключ и названия зон на свои собственные.

{
  "mcpServers": {
    "Bright Data": {
      "command": "npx",
      "args": ["@brightdata/mcp"],
      "env": {
        "API_TOKEN": "<your-brightdata-api-token>",
        "WEB_UNLOCKER_ZONE": "<optional—override default zone name 'mcp_unlocker'>",
        "BROWSER_AUTH": "<optional—enable full browser control via Scraping Browser>"
      }
    }
  }
}

После сохранения конфигурации и перезапуска Claude вы можете открыть настройки разработчика, и вы должны увидеть Bright Data в качестве опции. Если вы нажмете на Bright Data, чтобы просмотреть конфигурацию, она должна выглядеть примерно так, как показано на изображении ниже.

Конфигурация Claude MCP

После подключения проверьте Claude, чтобы убедиться, что у него есть доступ к MCP Server. Нижеприведенная подсказка должна быть в порядке.

Подключены ли вы к Bright Data MCP?

Если все подключено, Клод должен ответить примерно так, как показано на рисунке ниже. Клод подтверждает подключение, а затем объясняет, что он может делать.

Обеспечение соединения

Выполнение фактического соскоба

С этого момента работа становится проще. Укажите Claude URL целевых объявлений и просто дайте ему поработать. Приведенная ниже подсказка должна сработать как надо.

Please extract laptops from https://www.target.com/s?searchTerm=laptop
Изготовление скрапбукинга

Во время этого процесса не удивляйтесь, если на экране появятся всплывающие окна с вопросом, можно ли Клоду использовать определенные инструменты. Это хорошая функция безопасности. Клод не будет использовать эти инструменты, если вы не дадите ему явного разрешения.

Разрешение Клоду использовать scrape_as_markdown

Клод, скорее всего, попросит разрешения на использование таких инструментов, как scrape_as_markdown, extract и, возможно, некоторых других. Не забудьте дать разрешение на использование этих инструментов. Без них Клод не сможет соскрести результаты.

Разрешение Клоду использовать экстракт

Хранение результатов

Затем попросите Клода сохранить результаты в JSON-файле. В течение нескольких секунд Клод запишет все извлеченные результаты в очень подробный, хорошо структурированный JSON-файл.

Попросите Клода преобразовать данные

Если вы решите просмотреть файл, он должен выглядеть так, как показано на скриншоте ниже. Клод извлекает гораздо больше подробностей о каждом продукте, чем мы делали это изначально.

Снимок экрана с извлеченными данными
{
  "source": "Target.com",
  "search_term": "laptop",
  "extraction_date": "2025-07-09",
  "total_results": 834,
  "current_page": 1,
  "total_pages": 35,
  "special_offers": "Up to 50% off select laptops during Target Circle week (ends 7/12)",
  "laptops": [
    {
      "id": 1,
      "name": "Lenovo IdeaPad 1i Laptop",
      "brand": "Lenovo",
      "price": {
        "current": 279.00,
        "regular": 399.00,
        "discount_percentage": 30
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": "FHD Display",
        "processor": "Intel Celeron N4500",
        "graphics": "Intel UHD Graphics",
        "memory": "4GB RAM",
        "storage": "128GB eMMC",
        "operating_system": "Windows 11 Home",
        "connectivity": "Wi-Fi 6"
      },
      "color": "Grey",
      "rating": {
        "stars": 4.4,
        "total_reviews": 22
      },
      "availability": {
        "shipping": "Arrives Fri, Jul 11",
        "free_shipping": true
      },
      "sponsored": true
    },
    {
      "id": 2,
      "name": "HP Essential Laptop",
      "brand": "HP Inc.",
      "price": {
        "current": 489.00,
        "regular": 599.00,
        "discount_percentage": 18
      },
      "specifications": {
        "screen_size": "17.3\"",
        "display_type": "HD+ 1600×900 Touchscreen 60Hz",
        "processor": "Intel Core i3-N305",
        "graphics": "Intel UHD Graphics",
        "memory": "4GB RAM",
        "storage": "128GB SSD",
        "operating_system": "Windows 11 Home",
        "connectivity": "Wi-Fi 6"
      },
      "color": "Silver",
      "rating": {
        "stars": null,
        "total_reviews": 0
      },
      "availability": {
        "shipping": "Arrives Fri, Jul 11",
        "free_shipping": true
      },
      "sponsored": true
    },
    {
      "id": 3,
      "name": "HP 15.6\" FHD IPS Notebook",
      "brand": "HP Inc.",
      "price": {
        "current": 399.99,
        "regular": 669.99,
        "discount_percentage": 40
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": "FHD IPS",
        "processor": "Intel Core i5-1334U",
        "graphics": null,
        "memory": "12GB RAM",
        "storage": "512GB SSD",
        "operating_system": null,
        "connectivity": null
      },
      "color": "Natural Silver",
      "rating": {
        "stars": 5.0,
        "total_reviews": 2
      },
      "availability": {
        "shipping": "Arrives Sat, Jul 12",
        "free_shipping": true
      },
      "bestseller": true,
      "sponsored": false
    },
    {
      "id": 4,
      "name": "Lenovo Flex 5i 14\" WUXGA 2-in-1 Touchscreen Laptop",
      "brand": "Lenovo",
      "price": {
        "current": 469.99,
        "regular": 679.99,
        "discount_percentage": 31
      },
      "specifications": {
        "screen_size": "14\"",
        "display_type": "WUXGA 2-in-1 Touchscreen",
        "processor": "Intel Core i5-1235U",
        "graphics": "Intel Iris Xe Graphics",
        "memory": "8GB RAM",
        "storage": "512GB SSD",
        "operating_system": "Windows 11 Home",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.3,
        "total_reviews": 3
      },
      "availability": {
        "shipping": "Arrives Fri, Jul 11",
        "free_shipping": true
      },
      "sponsored": false
    },
    {
      "id": 5,
      "name": "HP Envy x360 14\" Full HD 2-in-1 Touchscreen Laptop",
      "brand": "HP Inc.",
      "price": {
        "current": 569.99,
        "regular": 799.99,
        "discount_percentage": 29
      },
      "specifications": {
        "screen_size": "14\"",
        "display_type": "Full HD 2-in-1 Touchscreen",
        "processor": "Intel Core 5 120U",
        "graphics": null,
        "memory": "8GB RAM",
        "storage": "512GB SSD",
        "operating_system": "Windows 11 Home",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.3,
        "total_reviews": 152
      },
      "availability": {
        "shipping": "Arrives Fri, Jul 11",
        "free_shipping": true
      },
      "sponsored": false
    },
    {
      "id": 6,
      "name": "HP Inc. Essential Laptop Computer",
      "brand": "HP Inc.",
      "price": {
        "current": 419.99,
        "regular": 649.99,
        "discount_percentage": 35
      },
      "specifications": {
        "screen_size": "17.3\"",
        "display_type": "HD+",
        "processor": "Intel Core",
        "graphics": null,
        "memory": "8GB RAM",
        "storage": "256GB SSD",
        "operating_system": null,
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.4,
        "total_reviews": 2222
      },
      "availability": {
        "shipping": "Arrives Sat, Jul 12",
        "free_shipping": true
      },
      "sponsored": false
    },
    {
      "id": 7,
      "name": "ASUS Vivobook 17.3\" FHD Daily Laptop",
      "brand": "ASUS",
      "price": {
        "current": 429.00,
        "regular": 579.00,
        "discount_percentage": 26
      },
      "specifications": {
        "screen_size": "17.3\"",
        "display_type": "FHD",
        "processor": "Intel Core i3",
        "graphics": "Intel UHD",
        "memory": "4GB RAM",
        "storage": "128GB SSD",
        "operating_system": "Windows 11 Home",
        "connectivity": "Wi-Fi",
        "features": ["HDMI", "Webcam"]
      },
      "color": "Blue",
      "rating": {
        "stars": null,
        "total_reviews": 0
      },
      "availability": {
        "shipping": "Arrives Fri, Jul 11",
        "free_shipping": true
      },
      "sponsored": true
    },
    {
      "id": 8,
      "name": "Lenovo Legion Pro 7i 16\" WQXGA OLED 240Hz Gaming Notebook",
      "brand": "Lenovo",
      "price": {
        "current": 2349.99,
        "regular": 2649.99,
        "discount_percentage": 11
      },
      "specifications": {
        "screen_size": "16\"",
        "display_type": "WQXGA OLED 240Hz",
        "processor": "Intel Core Ultra 9 275HX",
        "graphics": "NVIDIA GeForce RTX 5070Ti",
        "memory": "32GB RAM",
        "storage": "1TB SSD",
        "operating_system": null,
        "connectivity": null
      },
      "color": "Eclipse Black",
      "rating": {
        "stars": null,
        "total_reviews": 0
      },
      "availability": {
        "shipping": "Arrives Sat, Jul 12",
        "free_shipping": true
      },
      "category": "Gaming",
      "sponsored": false
    },
    {
      "id": 9,
      "name": "Acer 315 - 15.6\" 1920 x 1080 Chromebook",
      "brand": "Acer",
      "price": {
        "current": 109.99,
        "regular": 199.00,
        "discount_percentage": 45,
        "price_range": "109.99 - 219.99",
        "regular_range": "199.00 - 404.99"
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": "1920 x 1080",
        "processor": null,
        "graphics": null,
        "memory": null,
        "storage": null,
        "operating_system": "ChromeOS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 3.8,
        "total_reviews": 69
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "condition": "Manufacturer Refurbished",
      "sponsored": false
    },
    {
      "id": 10,
      "name": "HP Chromebook 14\" HD Laptop",
      "brand": "HP",
      "price": {
        "current": 219.00,
        "regular": 299.00,
        "discount_percentage": 27
      },
      "specifications": {
        "screen_size": "14\"",
        "display_type": "HD",
        "processor": "Intel Celeron N4120",
        "graphics": null,
        "memory": "4GB RAM",
        "storage": "64GB eMMC",
        "operating_system": "Chrome OS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.1,
        "total_reviews": 40
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "sponsored": false
    },
    {
      "id": 11,
      "name": "HP 15.6\" Laptop - Intel Pentium N200",
      "brand": "HP",
      "price": {
        "current": 419.99,
        "regular": null,
        "discount_percentage": null
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": null,
        "processor": "Intel Pentium N200",
        "graphics": null,
        "memory": "8GB RAM",
        "storage": "256GB SSD",
        "operating_system": null,
        "connectivity": null
      },
      "color": "Blue",
      "model": "15-fd0015tg",
      "rating": {
        "stars": 4.0,
        "total_reviews": 516
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "highly_rated": true,
      "sponsored": false
    },
    {
      "id": 12,
      "name": "Lenovo IP 5 16IAU7 16\" Laptop 2.5K",
      "brand": "Lenovo",
      "price": {
        "current": 268.99,
        "regular": 527.99,
        "discount_percentage": 49
      },
      "specifications": {
        "screen_size": "16\"",
        "display_type": "2.5K",
        "processor": "i3-1215U",
        "graphics": null,
        "memory": "8GB RAM",
        "storage": "128GB eMMC",
        "operating_system": "Chrome OS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.0,
        "total_reviews": 5
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "condition": "Manufacturer Refurbished",
      "sponsored": false
    },
    {
      "id": 13,
      "name": "Lenovo IdeaPad 3 Chrome 15IJL6 15.6\" Laptop",
      "brand": "Lenovo",
      "price": {
        "current": 144.99,
        "regular": 289.99,
        "discount_percentage": 50
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": null,
        "processor": "Celeron N4500",
        "graphics": null,
        "memory": "4GB RAM",
        "storage": "64GB eMMC",
        "operating_system": "Chrome OS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.1,
        "total_reviews": 19
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "condition": "Manufacturer Refurbished",
      "sponsored": false
    },
    {
      "id": 14,
      "name": "Acer Chromebook 315 15.6\" HD Laptop",
      "brand": "Acer",
      "price": {
        "current": 229.00,
        "regular": 349.00,
        "discount_percentage": 34
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": "HD",
        "processor": "Intel Pentium N6000",
        "graphics": null,
        "memory": "4GB RAM",
        "storage": "128GB eMMC",
        "operating_system": "Chrome OS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.3,
        "total_reviews": 7
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "includes": "Protective Sleeve",
      "sponsored": false
    },
    {
      "id": 15,
      "name": "Acer 315 - 15.6\" Chromebook Intel Celeron 64GB Flash",
      "brand": "Acer",
      "price": {
        "current": 109.99,
        "regular": 219.99,
        "discount_percentage": 50,
        "price_range": "109.99 - 152.99",
        "regular_range": "219.99 - 279.99"
      },
      "specifications": {
        "screen_size": "15.6\"",
        "display_type": null,
        "processor": "Intel Celeron",
        "graphics": null,
        "memory": null,
        "storage": "64GB Flash",
        "operating_system": "ChromeOS",
        "connectivity": null
      },
      "color": null,
      "rating": {
        "stars": 4.0,
        "total_reviews": 60
      },
      "availability": {
        "shipping": null,
        "free_shipping": null
      },
      "condition": "Manufacturer Refurbished",
      "sponsored": false
    }
  ],
  "popular_filters": [
    "Gaming",
    "HP",
    "Deals",
    "Under $300",
    "Windows"
  ],
  "price_ranges": {
    "minimum": 109.99,
    "maximum": 2349.99,
    "budget_under_300": true,
    "mid_range_300_800": true,
    "premium_800_plus": true
  },
  "brands_available": [
    "Lenovo",
    "HP",
    "HP Inc.",
    "ASUS",
    "Acer"
  ],
  "operating_systems": [
    "Windows 11 Home",
    "Chrome OS",
    "ChromeOS"
  ],
  "screen_sizes": [
    "14\"",
    "15.6\"",
    "16\"",
    "17.3\""
  ],
  "notes": {
    "shipping_policy": "Most items ship within 1-2 days with free shipping",
    "promotion_end_date": "2025-07-12",
    "data_completeness": "This represents page 1 of 35 total pages of results"
  }
}

Заключение

Цель сложная, но не невозможная. Вручную вам понадобится умный подход с настоящим браузером, автоматической прокруткой, ожиданиями и прокси-соединением. Можно также создать агента искусственного интеллекта, который точно знает, как работать с динамическим контентом Target. Браузер для скрапинга и сервер MCP от Bright Data делают это возможным – независимо от того, являетесь ли вы разработчиком или предпочитаете, чтобы ИИ выполнял всю тяжелую работу.

Bright Data также предлагает специальный API Target Scraper, который доставляет результаты в выбранное вами хранилище.

Запишитесь на бесплатную пробную версию и начните работу уже сегодня!