Hello, thanks for making this awesome tool devs!
I searched but couldn't fully solve this onmy own. I read up on how to import tables with links using hierarchy of a wrapper element container (table), row selector and individual several selectors. I disabled multiple for the individual selectors and enabled it for the row selector. Hierarchy should be good. Now the problem is that although when I check with multiple turned on, photo and url scraping works for all rows, when i disable it and try it in the container to sync with other columns, i only see all the other text data.
How to correctly scrape img and url in a table?
Url: http://drugsdata.org
Sitemap:
{"_id":"drugsdata","startUrl":["https://drugsdata.org"],"selectors":[{"id":"wrapper","type":"SelectorElement","parentSelectors":["_root"],"selector":"table#MainResults","multiple":false,"delay":0},{"id":"sample name","type":"SelectorText","parentSelectors":["rows selector"],"selector":"td:nth-of-type(2), th[rowspan]:nth-of-type(2)","multiple":false,"regex":"","delay":0},{"id":"substance","type":"SelectorText","parentSelectors":["rows selector"],"selector":"td:nth-of-type(3), th#Substance","multiple":false,"regex":"","delay":0},{"id":"amount or ratios","type":"SelectorText","parentSelectors":["rows selector"],"selector":"th#Amounts, td:nth-of-type(4)","multiple":false,"regex":"","delay":0},{"id":"date tested","type":"SelectorText","parentSelectors":["rows selector"],"selector":"th:nth-of-type(5), td:nth-of-type(6)","multiple":false,"regex":"","delay":0},{"id":"link","type":"SelectorLink","parentSelectors":["rows selector"],"selector":".Tablet a","multiple":false,"delay":0},{"id":"source","type":"SelectorText","parentSelectors":["rows selector"],"selector":"th#LastColumn, td:nth-of-type(8)","multiple":false,"regex":"","delay":0},{"id":"foto","type":"SelectorImage","parentSelectors":["rows selector"],"selector":".Tablet img","multiple":false,"delay":0},{"id":"rows selector","type":"SelectorElement","parentSelectors":["wrapper"],"selector":"tr:nth-of-type(n+1)","multiple":true,"delay":0}]}
thank you in advance!