• Home » Useful Articles » Facebook Marketplace: scraping vehicle category

    Facebook Marketplace: scraping vehicle category

    (0)
    By eMagicOne
    article-img-sect-1

    The Facebook marketplace has become a popular platform for individual car sellers, buyers, and dealers.

    article-sect-1

    To find best offers, car dealers (eScraper clients) used to spend much time browsing the listings manually and copying them for further processing. With the scraping technology, they could automate this task. eScraper extracts vehicle listings (under the “Vehicle” category) from the Facebook Marketplace into a file. This lets our clients work with structured data and, therefore, speeds up their work and the work of their agents.

    Web scraping Facebook marketplace for cars: task overview

    The clients interested in scraping cars from Facebook Marketplace may have a number of requirements: extracting data for specific countries, locations, or areas; receiving fresh files regularly; getting dealership and private party listings separately or excludimg dealership listings; extracting specific fields; formatting the file for import to a CRM or other software.

    The steps to scrape vehicle listings from Facebook Marketplace are as follows:

    1. Describe what data to extract from Facebook Marketplace or Facebook Shops and how it should be organized.
    2. Order free scrape.
    3. Review the sample file and request modifications (if any).
    4. Place an order and get car listings in a CSV file.

    Solutions

    Below we’ll describe the actions that we take to provide the perfect result file for the eScraper clients.

    Searching for necessary data. Facebook allows you to select the location by city, neighborhood, or ZIP code and specify a radius to search within. So, to outline the area, a client provides zip code + radius, or a list of target cities, or cities + radius as in the example below:

    Facebook Marketplace Cars Scraping Locations

    Locations to search for cars to scrape on the Facebook Marketplace

    We then search by this location on Facebook and extract car offers within the outlined area:

    Facebook Marketplace Car Sellers Search

    Searching for cars in the specified location

    Scraping data on a schedule. Fresh data is provided once or twice a week according to the agreement between a client and eScraper. A client receives an updated file by email or by the link in Google Sheets with a timestamp:

    Facebook Marketplace Vehicle Scraping File

    File sample with vehicles scraped from Facebook Marketplace

    Preparing a file. Following the client’s requirements, we’re providing such columns in the file:

    • Listing URL
    • The vehicle year and name For Example “ 2011 Ford Focus”
    • The vehicle name and year separated into two fields (one for the year “2011”, one for the make and model like “Ford Focus”)
    • The price
    • The State/Region/
    • The City
    • The Seller Name
    • The description provided by the seller
    • Image URL

    To present data in that format, we use formulas to split the records from one column into two. This allows clients to sort and filter data in the file according to their needs.

    eScraper can extract all data available on the ad’s page. Thus the list of fields may differ and is requested by a client. For instance, we can also extract Mileage “Driven XXX km”, Transmission, Exterior Color, Fuel Type, and other available details.

    Challenges, and how we overcame them

    To prevent scraping, Facebook blocks the robot with errors and captchas, especially when there are thousands of pages to be scraped. As we are providing listings with 15-17K lines twice a week, we experienced being blocked by Facebook too. After tuning the scraping bot, we managed to proceed and extract the data.

    Extracting additional fields like Seller URL, Name, and seller Description required us to click every ad in the search results.

    Facebook Marketplace Vehicle Ads

    To extract all car details the scraper click every ad

    Loading each car page takes more time, so we had to adjust the start of data extraction to be able to provide a new file on time.

    Result

    Currently, we extract car listings from Facebook for clients from the United States, Canada, Columbia, UK. Mostly, data is provided on a regular basis, as new offers appear every day and car dealers need to process them asap.

    If you have any specific case, like scraping Facebook Marketplace for cars, vans, or trucks for sale by the owner and/or dealer, contact us. We’ll discuss your task via email or arrange a phone call. Then we’ll do a free test scrape, and prepare a file that will be perfect for you.

    Was this article helpful?

    Scrape Facebook marketplace for cars with eScraper!

    Try FREE
    Related articles

    4 min

    How to scrape car data automatically

    The vehicle market is huge and diverse. It includes new and used cars, car parts, numerous makes & models. To stay competitive in such an environment, one needs to monitor supplier offers, competitors, and users’ preferences and demands. Therefore, automation such as web scraping is vastly used to obtain and analyze automotive data.

    4 min

    How to scrape Facebook Shop and Marketplace and import data to online store

    There is much said and written on the internet about scraping FaceBook user data: names, emails, comments, etc. In this article, we will talk about a different type of data. Specifically, product details listed in Facebook Shops and Facebook Marketplace.

    4 min

    Amazon scraping tool – how to extract product listings

    Amazon scraping tools help online merchants start their business and beat competitors. When you extract data from the marketplace and get it in a structured way you can analyze best selling products, competitors’ prices, availability and other information.

    Comments Join the discussion...
    img-form