Amazon Product Scraper avatar
Amazon Product Scraper
Try for free

14 days trial then $40.00/month - No credit card required now

View all Actors
Amazon Product Scraper

Amazon Product Scraper

junglee/amazon-crawler
Try for free

14 days trial then $40.00/month - No credit card required now

Use this Amazon scraper to collect data based on URL and country from the Amazon website. Extract product information without using the Amazon API, including reviews, prices, descriptions, and Amazon Standard Identification Numbers (ASINs). Download data in various structured formats.

User avatar

Inconsistent number of columns, order of columns and name of columns being returned by the Amazon Product Scraper

Closed

Abrams_Books opened this issue
5 months ago

Hi we are using the results of the Amazon Product Scraper to push data to the database on a daily basis, but the data returned by the Amazon Product Scraper is inconsistent number of columns, order of columns and name of columns resulting in schema mismatch and breaking our ETL job. How can we make sure that the Amazon Product Scraper return the same number of columns in the same order and same column name every time it runs.

User avatar

Abrams_Books

5 months ago

Problem: Inconsistent number of columns, order of columns and name of columns being returned by the Amazon Product Scraper Hi we are using the results of the Amazon Product Scraper to push data to the database on a daily basis, but the data returned by the Amazon Product Scraper is inconsistent number of columns, order of columns and name of columns resulting in schema mismatch and breaking our ETL job. How can we make sure that the Amazon Product Scraper return the same number of columns in the same order and same column name every time it runs?

Run Details: (inconsistent columns returned 104 on 2023-11-18) https://console.apify.com/view/runs/UFCNYQQuWk292RxfH

Run Details: (inconsistent columns Returned 157 on 2023-11-25) https://console.apify.com/view/runs/PDirRxR93aUKeZi16

User avatar

Hi, I am closing this as a duplicate. The original: https://console.apify.com/actors/BG3WDrGdteHgZgbPK/issues/tHgPJchKcX2dceoWq

Copying the answer here: This can happen either if:

  • Resulting items contain a list that has a variable number of items. There are several lists in the output.
  • Some field is missing completely - this is rare.

The solution is either: a) Use fields (pick fields) export parameter to order the results exactly b) Use omit parameter to remove problematic fields c) Use post-processing pipeline (possibly with another actor after webhook) to add empty values to the list or create a new CSV

Developer
Maintained by Apify
Actor metrics
  • 167 monthly users
  • 90.6% runs succeeded
  • 4.5 days response time
  • Created in Oct 2018
  • Modified 6 days ago
Categories