
Closed
Posted
Paid on delivery
#!/usr/bin/env python3 """ Wayfair Closeout Section Scraper Captures: Product Name, Price, Description Outputs: Clean, deduplicated CSV file. """ import json import logging import os import re import sys import time from datetime import datetime from bs4 import BeautifulSoup import pandas as pd from playwright.sync_api import sync_playwright, TimeoutError as PlaywrightTimeoutError # Load configuration BASE_DIR = [login to view URL]([login to view URL](__file__)) CONFIG_FILE = [login to view URL](BASE_DIR, "[login to view URL]") if [login to view URL](CONFIG_FILE): with open(CONFIG_FILE, "r", encoding="utf-8") as f: config = [login to view URL](f) else: config = { "start_url": "[login to view URL]", "max_pages": 10, "request_delay_seconds": 3, "headless": True, "output_dir": [login to view URL](BASE_DIR, "output"), "log_dir": [login to view URL](BASE_DIR, "output", "logs"), "timeout_ms": 60000, } OUTPUT_DIR = [login to view URL]([login to view URL]("output_dir", "./output")) LOG_DIR = [login to view URL]([login to view URL]("log_dir", "./output/logs")) [login to view URL](OUTPUT_DIR, exist_ok=True) [login to view URL](LOG_DIR, exist_ok=True) # Logger setup log_filename = [login to view URL](LOG_DIR, f"scraper_{[login to view URL]().strftime('%Y%m%d')}.log") [login to view URL]( level=[login to view URL], format="%(asctime)s [%(levelname)s] %(message)s", handlers=[ [login to view URL](log_filename, encoding="utf-8"), [login to view URL]([login to view URL]), ], ) def sanitize_text(text: str) -> str: """Removes irregular whitespace, non-breaking spaces, and extra newlines.""" if not text: return "" text = [login to view URL](r"[\r\n\t]+", " ", text) text = [login to view URL](r"\s{2,}", " ", text) return [login to view URL]() def extract_item_details(card_soup: BeautifulSoup) -> dict: """Extracts Name, Price, and Description with fallback selectors.""" # 1. Product Name name_el = ( card_soup.select_one('[data-hb-id="ProductCard-name"]') or card_soup.select_one("h2") or card_soup.select_one('[class*="ProductCard-title"]') or card_soup.select_one('[class*="ProductCardName"]') ) product_name = sanitize_text(name_el.get_text()) if name_el else "" # 2. Current Price price_el = ( card_soup.select_one('[data-hb-id="PriceDisplay"]') or card_soup.select_one('span[class*="PriceDisplay"]') or card_soup.select_one('[class*="pl-Price"]') or card_soup.select_one('[data-hb-id="VisualHierarchy-Price"]') ) price = sanitize_text(price_el.get_text()) if price_el else "" # 3. Description desc_el = ( card_soup.select_one('[data-hb-id="ProductCard-description"]') or card_soup.select_one('[class*="ProductCardDescription"]') or card_soup.select_one('[class*="CardReviewAndDescription"] p') ) description = sanitize_text(desc_el.get_text()) if desc_el else "" # Fallback for description if it's rendered as bulleted specifications if not description: bullets = [login to view URL]("ul li") if bullets: description = "; ".join([sanitize_text(b.get_text()) for b in bullets]) return { "Product Name": product_name, "Price": price, "Description": description, } def scrape_wayfair(): start_url = [login to view URL]("start_url") max_pages = [login to view URL]("max_pages", 10) delay = [login to view URL]("request_delay_seconds", 3) headless = [login to view URL]("headless", True) timeout_val = [login to view URL]("timeout_ms", 60000) records = [] seen_products = set() [login to view URL](f"Starting run on URL: {start_url}") with sync_playwright() as pw: browser = [login to view URL]( headless=headless, args=[ "--disable-blink-features=AutomationControlled", "--no-sandbox", "--disable-dev-shm-usage", ], ) context = browser.new_context( user_agent=( "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " "AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/[login to view URL] Safari/537.36" ), viewport={"width": 1440, "height": 900}, ) page = context.new_page() current_page_idx = 1 current_url = start_url while current_page_idx <= max_pages: [login to view URL](f"Crawling Page {current_page_idx}: {current_url}") try: [login to view URL](current_url, wait_until="domcontentloaded", timeout=timeout_val) [login to view URL](delay) # Incremental scroll to trigger React lazy-loading hydration for _ in range(4): [login to view URL](0, 1200) [login to view URL](0.8) soup = BeautifulSoup([login to view URL](), "[login to view URL]") # Match product cards cards = ( [login to view URL]('[data-hb-id="ProductCard"]') or [login to view URL]('div[class*="ProductCard"]') or [login to view URL]('[data-hb-id="Grid-item"]') ) if not cards: [login to view URL](f"No cards identified on page {current_page_idx}. Ending crawl.") break page_new_count = 0 for card in cards: item = extract_item_details(card) # Deduplicate and validate minimum required data if item["Product Name"] and item["Product Name"] not in seen_products: [login to view URL](item["Product Name"]) [login to view URL](item) page_new_count += 1 [login to view URL](f"Found {page_new_count} unique items on Page {current_page_idx}.") # Handle Pagination next_btn = page.query_selector( 'a[aria-label="Next Page"], [data-hb-id="Pagination-next"], a[rel="next"]' ) if next_btn and next_btn.is_visible() and next_btn.is_enabled(): href = next_btn.get_attribute("href") if href: current_url = href if [login to view URL]("http") else f"[login to view URL]{href}" else: break current_page_idx += 1 else: [login to view URL]("Next page button not found or end reached. Completed crawl.") break except PlaywrightTimeoutError: [login to view URL](f"Timeout occurred on page {current_page_idx}. Halting crawl.") break except Exception as ex: [login to view URL](f"Unhandled error on page {current_page_idx}: {str(ex)}", exc_info=True) break [login to view URL]() # Export to CSV if records: timestamp = [login to view URL]().strftime("%Y%m%d_%H%M%S") filename = f"wayfair_closeout_{timestamp}.csv" csv_path = [login to view URL](OUTPUT_DIR, filename) df = [login to view URL](records) df.drop_duplicates(subset=["Product Name"], inplace=True) df.to_csv(csv_path, index=False, encoding="utf-8-sig") [login to view URL](f"SUCCESS: Exported {len(df)} unique records to: {csv_path}") return csv_path else: [login to view URL]("Run completed with 0 items. No CSV written.") return None if __name__ == "__main__": scrape_wayfair()
Project ID: 40753431
53 proposals
Remote project
Active 1 min ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
53 freelancers are bidding on average ₹20,408 INR for this job

Hi Lovish, I will deliver a Playwright‑based scraper for Wayfair’s closeout section that extracts Product Name, Price and Description across up to 10 pages, deduplicates and outputs a clean CSV. I will have it ready and tested within 4 days for INR 12,500. I can send a sample run now—shall I proceed? Waiting for your response in chat! Best Regards.
₹25,000 INR in 3 days
5.4
5.4

I can improve your existing Wayfair scraper using Python, Playwright, and BeautifulSoup to reliably extract product names, prices, and descriptions across multiple pages. I’ll fix pagination and error handling, strengthen deduplication, and deliver a clean CSV export with logging and configurable settings for easier maintenance.
₹12,500 INR in 2 days
5.3
5.3

Your provided Playwright and BeautifulSoup script targets Wayfair closeout catalog cards for name, price, and description extraction, but Wayfair frequently shifts DOM selectors and challenges headless browser traffic. I can test and stabilize the script against live pages. I will verify the hydration scrolling, update card and price fallback selectors to match the current DOM, and ensure pagination produces clean, deduplicated CSV exports. In past projects on Freelancer, I have debugged failing Python scripts and built scrapers tailored for scheduled data capture. We can split this into pre-agreed milestones: verifying the live extraction logic first, followed by script handover and output verification. What specific issue is occurring when you run the code—is Playwright timing out from bot detection, or are the product selectors returning empty results? Ahmed
₹19,500 INR in 3 days
4.9
4.9

Hi there, I understand project, Can you please come to the chat box so we can easily discuss via chat , Thank You
₹65,000 INR in 5 days
4.8
4.8

Hi, I can build and refine this Wayfair scraper using Python, Playwright, and BeautifulSoup. I’ll collect the product name, price, and description, handle dynamic content and pagination, remove duplicates, validate the collected data, and export a clean CSV file. I’ll also review the existing selectors and scraping flow against the current Wayfair page structure and fix any issues that prevent reliable data collection. The configuration, logging, error handling, and output structure can remain clean and easy to maintain. Please share the current project files or requirements, and I can review the scraper and get started. Regards, Ioannis
₹20,000 INR in 4 days
3.7
3.7

Hi there, I'll build a Wayfair closeout scraper that extracts product names, prices, and descriptions into clean CSV files. Using web scraping techniques with browser automation, I'll handle dynamic content loading, implement deduplication logic, and manage pagination across multiple pages. The system will include configurable settings, error handling, and logging. Relevant samples are attached. What format would you prefer for the output CSV, and should the scraper handle product images or URLs as well?
₹24,375 INR in 14 days
3.4
3.4

With 15+ years of Python data-extraction experience and a 30-day worry-free warranty, I'm confident I can deliver a robust, anti-bot-resistant scraper that cleanly captures Wayfair's closeout data into a flawless CSV. The real challenge with scraping modern retail sites isn't just parsing the HTML; it's that aggressive anti-bot systems and dynamic React lazy-loading will silently serve you blank pages, leaving you with an empty dataset. I solve this by using Playwright with stealth configurations, incremental scrolling to trigger hydration, and polite request throttling to mimic human behavior and guarantee a complete, uninterrupted data pull. I will build or refine your Python script to reliably extract product names, prices, and descriptions, implementing strict deduplication and fallback selectors to ensure no data is missed. You’ll receive a clean, well-commented script, a structured CSV output, and a simple config file so you can easily adjust targets or delays. If the site’s layout shifts and breaks the selectors within 30 days, the warranty covers me updating the script at no extra charge. I'm ready to review your requirements and start immediately. Let's discuss the details. Best, Raj
₹22,500 INR in 6 days
3.5
3.5

Hi there, I’m Malix Azis. I can build and improve this Wayfair scraper using Python, Playwright, BeautifulSoup and Pandas, with reliable pagination, deduplication, logging and clean CSV output. I’ll make it stable against dynamic loading and selector changes. Do you already have the current Wayfair page structure available for testing? I have strong experience with Python web scraping, browser automation and data processing, along with C programming. I can provide perfect results and start immediately after the plan is finalized. Let’s discuss the details via chat. Best regards, Malix
₹20,000 INR in 3 days
3.3
3.3

Hi, there. I have developed Python-based web scraping systems using Playwright, BeautifulSoup, and data processing pipelines to collect dynamic e-commerce data, handle JavaScript-rendered pages, and generate clean structured datasets. In a previous scraping project, I built an automated product extraction system for marketplace websites where I handled dynamic loading, pagination, duplicate filtering, data validation, and CSV/database exports. The main challenges were dealing with changing page structures, lazy-loaded content, and unreliable scraping results; I solved them through browser automation, flexible selectors, fallback extraction logic, retry handling, and detailed logging. I am planning to improve your Wayfair closeout scraper by reviewing the existing Playwright workflow, strengthening product card detection, refining extraction rules for names/prices/descriptions, improving deduplication accuracy, and ensuring stable CSV generation with proper error handling and logs. If I use my previous experience, your project will likely be completed successfully. Hope to discuss this in detail. Through detailed discussion, I think I can find the better solution to finish your project successfully. Thank you.
₹25,000 INR in 7 days
2.6
2.6

Hello, Problem: Wayfair closeout data can change frequently, so manually collecting products, pricing, availability, and product details is time-consuming and difficult to keep accurate. Solution: I can build a Python-based scraping system using appropriate permitted endpoints, with automated product extraction, pagination, category handling, price/availability tracking, deduplication, validation, error handling, and structured export to CSV/Excel/JSON or a database. I can also add scheduled runs and change detection if required, while respecting Wayfair’s terms and access restrictions. Result: You’ll have a reliable, repeatable system for collecting clean closeout data with minimal manual effort. I have 20 years of software development experience with strong expertise in Python, web scraping, APIs, automation, data processing, databases, and eCommerce systems. Questions: 1. Which Wayfair closeout fields do you need—SKU title, price images availability, category, dimensions, etc.? 2. How frequently should the scraper run and where should the collected data be delivered? Thanks
₹26,000 INR in 7 days
2.4
2.4

As an experienced freelancer with a track record of successfully completing more than 250 projects, I believe I have honed the skills necessary to tackle your Wayfair Closeout Scraping System. My forte in administrative and research support, including web scraping, arms me with a sharp eye for detail and an ability to adapt quickly across diverse industries and projects. This project's focus on data extraction (Product Name, Price, Description) and handling aligns perfectly with my Data Analysis & Spreadsheet proficiency using languages like C and robust tools such as BeautifulSoup and Pandas. I am well acquainted with tweaking and integrating existing pipelines, like your current script, to produce clean, deduplicated CSV files from scraped data—just as specified in the project description. My meticulous approach to writing clean, understandable code will ensure hassle-free maintainability and future customization of the scraping system. Additionally, my background in IT enables me to provide technical support throughout the project lifecycle—I can troubleshoot any hiccups that may arise while executing or maintaining the script
₹12,500 INR in 7 days
2.1
2.1

Hi, I read through your script. The structure is fine, but two things will likely stop it on the live closeout page: 1. Wayfair usually answers headless Chromium with its bot check ("Press & Hold"). The page loads, no product cards are found, and the run ends with 0 rows. A spoofed user agent alone does not get past that. 2. Dedup is by product name. Closeout often lists several items with the same name (sizes, colors), so real rows get dropped. I would dedup by SKU and keep the product URL as a column. What you get: the scraper running in a real browser session with human-like pacing, pagination through all closeout pages, Name / Price (sale and original split, not glued together) / Description / SKU / URL, a clean UTF-8 CSV, a run log, and a short README so it starts with one command. First thing once we start: I run your current script against the closeout URL and show you what it actually returns, so we both see where it breaks before I change anything. Three completed projects on this account, all rated 5 out of 5, on time and on budget. I have also delivered a large public-data collection job with cleaning and deduplication. Price 14,000 INR, 3 days. Petro Pankov, BotCraft Group
₹14,000 INR in 3 days
1.5
1.5

I have developed parsers and scrapers using Playwright with HTTP clients for bypassing antibot and protection systems. I created a monitoring system for tender platforms with parsing of government procurement, isolated adapters for each platform, and a two-stage AI classification pipeline. How do you plan to handle dynamically loaded content during scrolling?
₹15,424 INR in 14 days
1.3
1.3

With 10+ years of experience in Full Stack Development and web scraping, I can build a reliable Wayfair Closeout Scraping System using Python, BeautifulSoup, and Pandas. I’ll extract key product data such as names, prices, and descriptions, remove duplicates, and deliver clean, structured CSV files. My focus is accurate data extraction, efficient processing, and a maintainable solution delivered on time.
₹25,000 INR in 7 days
0.0
0.0

A closeout scraper is only useful if it keeps producing clean, deduplicated records when product-card markup or page content varies. The key challenge here is reliably capturing each product’s name, price, and description across the configured pages, then writing a CSV that can be used without manual cleanup. I’d build on the provided Python and Playwright structure, using browser waits suited to rendered content and the existing selector fallbacks as a starting point for extraction. I’d normalize whitespace and handle missing fields consistently so one incomplete card does not disrupt the run. Pagination would respect the configuration, and deduplication would be applied before export so repeated products do not inflate the results. Pandas is useful at the output stage for consistent column ordering and a clean CSV, while the existing configuration and logging setup can keep page limits, delays, output paths, and run diagnostics manageable without editing the scraper itself. I’d also check the end-to-end output against representative product cards: confirm the expected columns, inspect empty or malformed values, and verify that a run with no usable products still exits cleanly and reports what happened. The result should remain straightforward to maintain, with extraction, cleanup, and export kept distinct so selector adjustments do not require rewriting the rest of the workflow. I can deliver the updated script and supporting configuration through a clean Git handoff. Should deduplication rely on product name and price, or is there a stable product identifier you want used?
₹22,250 INR in 4 days
0.0
0.0

I'd harden your Playwright scraper's selectors and pagination, delivering the Python code plus a clean deduplicated CSV. Wayfair's bot protection is the main risk, so I'd test real runs. I can deliver it in 3 days, and it includes up to 2 rounds of adjustments. Does your current script already run, and what exactly is failing or missing? You can see a similar project of mine here: https://www.freelancer.com/u/Deived3339/portfolio/14144658 More of my work: https://www.freelancer.com/u/Deived3339
₹13,495 INR in 3 days
0.0
0.0

I understand the goal is to improve the Python/Playwright scraper so it reliably collects clean, deduplicated product data even when page content or markup changes. I’ll handle selector fallbacks, pagination, missing fields, whitespace cleanup, and deduplication, then export consistent CSV files using Pandas. I’ll also test the scraper with different product cards and edge cases to ensure it runs smoothly and is easy to maintain. I can deliver the updated scraper, configuration, and supporting files through a clean Git handoff. For deduplication, should I use the product name and price, or is there a unique product ID available?
₹25,000 INR in 7 days
0.0
0.0

Complete your Wayfair closeout scraper to extract product names, prices and descriptions into deduplicated CSV. We'll finalize the description parser, add pagination error handling, implement deduplication by name+price, and validate HTML selectors against live Wayfair markup. What format should duplicate products be handled—keep first occurrence or merge rows?
₹12,500 INR in 1 day
0.0
0.0

Hi, I can build a Python utility to crawl the Wayfair Closeout page, extract each product’s regular and current selling prices, and calculate the exact percentage discount. I’ll use Requests/BeautifulSoup or Playwright depending on how the product data is rendered, with pagination/dynamic-content handling, validation, and sensible request throttling. The script will sort all valid products by discount percentage and export the top 20 deepest-discount product URLs to CSV, TXT, or Google Sheets. I’ll provide clean, reusable Python source code with straightforward setup and execution instructions.
₹12,500 INR in 2 days
0.0
0.0

With my solid education in computer science and AI, combined with nearly 20 years of extensive experience in academia, software engineering, and technology leadership, I am confident that I am the perfect choice for your Wayfair Closeout Scraping System project. Besides, as a reputable freelancer, I have successfully completed numerous similar projects over time. Among the skills biomarked *C Programming* and *Web Scraping*, I believe I am best placed to meet your expectations. Having contributed to large-scale software development and AI-driven solutions throughout my career, I have amassed profound expertise in clean and efficient data extraction. This aligns perfectly with your project requirements of capturing *(Product Name, Price, Description)* accurately and outputting a "(...) clean deduplicated CSV file". Additionally, my experience includes a deep understanding of play-wright and BS4 libraries utilized in your project. Therefore, handling any potential hurdles that might come up will be a breeze for me. The fact that you're offering "headless" web scraping renders my command line interface experience even more valuable. I'm keen on starting immediately!
₹12,500 INR in 7 days
0.0
0.0

Ludhiana, India
Member since Sep 27, 2026
₹12500-37500 INR
₹1500-12500 INR
₹12500-37500 INR
$30-250 USD
€250-750 EUR
$10-30 USD
$200-300 AUD
$15-30 USD
₹12500-37500 INR
$15-30 USD
$250-750 USD
$250-500 USD
$10-30 USD
£250-750 GBP
$750-1500 USD
$240-2000 HKD
$25-50 USD / hour
$15-25 USD / hour
$30-250 USD
$10-30 CAD
₹600-1500 INR