I have selected element attribute and the selector is ' li.search-page__result id ' and in the attribute I'm using ' id ' but still getting null..
Any ideas ?
I have selected element attribute and the selector is ' li.search-page__result id ' and in the attribute I'm using ' id ' but still getting null..
Any ideas ?
Remove id
from your selector.
strangely this is not working, here is the full HTML.
Source
Webscraper Value
Can you post a URL of the site so we can take a look at it?
Strange, for me everything is working. Here is my sitemap:
{"_id":"autotrader_id","startUrl":["https://www.autotrader.co.uk/car-search?advertising-location=at_cars&search-target=usedcars&is-quick-search=true&radius=&onesearchad=used&onesearchad=nearlynew&onesearchad=new&make=PAGANI&model=&price-search-type=total-price&price-from=&price-to=&postcode=bl79dr"],"selectors":[{"id":"id_","type":"SelectorElementAttribute","selector":"li.search-page__result","parentSelectors":["_root"],"multiple":true,"extractAttribute":"id","delay":0}]}
Thanks, working now.
Ah, just tested it on my sitemap and it comes back null and I think it because I have the item set as this class and within the item it can't find ID.
Here is the sitemap.