0

I am curious whether the following automation would be feasible:

  1. search google for a UCP/EAN code number (e.g. 8710103703631)
  2. scrape and parse data (depending on what is available) from the first ranked page concerning Product:
    • Name
    • Brand
    • Model
    • Picture
    • Description

Just trying to understand how complicated this might be.

Thank you!

Moshe Slavin
  • 5,127
  • 5
  • 23
  • 38
  • That should be doable but I wouldnt advise scree-scraping. You could check out the python scrapy package, it could help you https://scrapy.org/ – pythonic833 Feb 27 '19 at 18:31

1 Answers1

0

Lookup EAN/UPC codes via API

There are some free web-APIs which (reverse-)lookup barcodes (EAN/UPC) or provide additional information.

For example ean-search.org is an REST API that is queried by the EAN and delivers XML (e.g. provides a link to Amazon for your sample "Philips Sonicare").

Benefit using an API: ready to use data, no scraping needed.

Web-scraping for search-results

For sure you can use search-engines (like google, duckduckgo, etc.) and search for the barcode using the favorite web-scraping library in your desired programming-language:

hc_dev
  • 8,389
  • 1
  • 26
  • 38