Scrape image url from table

Hi @chefas

I want to scrape an image from a table with all the text data contained in that table, but when the web scraper extension identifies the rows and columns it do not fint the image URK attatched in this table.

I've tryed to make a new selector with "Image" but the rows of the text data and the Image URL do not match and I need to be the same. (I need that everi row of text has its own URL image correspondant to that row)

Here is a screenshot of the website table i need to scrape

As you can see here


the table selector of the extension find every field as in need but the image URL is not extracted.

Can you help me figure out how to extract the image also in the same row as all the other data?

Kind regards

Url: https://catalo.gr/escoda/md:li/t:PR/i:370621/ct:122/Válvulas%20de%20compuerta%20de%20hierro%20cierre%20elástico%20c%2Fbridas

Sitemap:
{"_id":"salvadorescoda","startUrl":["https://catalo.gr/escoda"],"selectors":[{"id":"Pagination","parentSelectors":["_root","Pagination"],"type":"SelectorLink","selector":".is_bottom a","multiple":true},{"id":"Link","parentSelectors":["_root","Pagination"],"type":"SelectorLink","selector":".box_list_item a","multiple":true},{"id":"link2","parentSelectors":["Link"],"type":"SelectorLink","selector":".box_list_item a","multiple":true},{"id":"product","parentSelectors":["link2"],"type":"SelectorLink","selector":".box_list_item a","multiple":true},{"id":"Table","parentSelectors":["product"],"type":"SelectorTable","multiple":true,"selector":"table","tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr","columns":[{"extract":true,"header":"Código","name":"Código"},{"extract":true,"header":"Descripción de Producto","name":"Descripción de Producto"},{"extract":true,"header":"EAN","name":"EAN"},{"extract":true,"header":"Imagen de producto","name":"Imagen de producto"},{"extract":true,"header":"PVP","name":"PVP"},{"extract":true,"header":"Marca","name":"Marca"}]},{"id":"Imagen","parentSelectors":["product"],"type":"SelectorImage","selector":"li img","multiple":true}]}

@Ithalik Hello, after inspecting the structure of the product page the most viable way to extract this data will require substituting the 'Table' selector with an 'Element' selector instead.

Example:

{"_id":"salvadorescoda","startUrl":["https://catalo.gr/escoda/t:PR/i:417902/ct:1665/Interruptor%20diferencial%202%20polos%2025A%2030MA%20tipo%20AC"],"selectors":[{"id":"wrapper","multiple":true,"parentSelectors":["_root"],"selector":"tbody tr","type":"SelectorElement"},{"id":"code","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"td:nth-of-type(1)","type":"SelectorText"},{"id":"description","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"td:nth-of-type(2)","type":"SelectorText"},{"id":"ean","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"td:nth-of-type(3)","type":"SelectorText"},{"id":"image","multiple":false,"parentSelectors":["wrapper"],"selector":"img","type":"SelectorImage"}]}

Learn more: Web Scraper << How to >> Scrape multiple items within a listings page