Data empty - sitempa

Hello guys :slight_smile:

My sitemap seems to be working. Indeed, when I click on data preview on the various scraped elements I see the data well. However, when I launch the scrap the csv is empty. Same thing when I refresh during my scraping.

Here is the sitemap and its url :

https://www.soho-solo-gers.com/solos

Sitemap:

{"_id":"sohosolo","startUrl":["https://www.soho-solo-gers.com/solos"],"selectors":[{"id":"Identite","parentSelectors":["_root"],"type":"SelectorLink","selector":".views-field-title a","multiple":true,"delay":0},{"id":"Prenom Nom","parentSelectors":["Identite"],"type":"SelectorText","selector":"h1","multiple":false,"delay":0,"regex":""},{"id":"Metier","parentSelectors":["Identite"],"type":"SelectorText","selector":"h2.bleu","multiple":false,"delay":0,"regex":""},{"id":"Telephone","parentSelectors":["Identite"],"type":"SelectorText","selector":"div.picto-solo","multiple":false,"delay":0,"regex":""},{"id":"Mail","parentSelectors":["link-mail"],"type":"SelectorLink","selector":".picto-solo a:nth-of-type(1)","multiple":false,"delay":0},{"id":"link-mail","parentSelectors":["Identite"],"type":"SelectorLink","selector":".picto-solo a:nth-of-type(1)","multiple":false,"delay":0},{"id":"Adresse","parentSelectors":["Identite"],"type":"SelectorText","selector":".zone-info-solo p:nth-of-type(3)","multiple":false,"delay":0,"regex":""}]}

Hi @Peslo

It most likely happens because with the current selector set up the Web Scraper attempts to visit their e-mail adresses as links, therefore you should remove the selector with ID - 'Mail'.

Why did I put "link" and not something else? Because simply, the other elements below show me a null data if I want to recover the email. How would you have proceeded to retrieve the email?

Screen Shot 2021-09-16 at 6.33.17 PM

@Peslo You have 2 'Link' selectors - 'link-mail' and 'Mail', you need just one. Keep the 'link-mail' and delete the 'Mail'. :slight_smile: