Google Parser - Extract Link and Domain

scrapefun

A-Parser Enterprise License
A-Parser Enterprise
I'm trying to extract the domain name from Google Parser $link variable. I've managed to get it working but the 1st result domain is not being extracted.

Instead, 2nd result domain is placed first. It is like the first result is being skipped.

LWR_Recording.png


Here is what I have for result format:

LWR_Recording.png
 
The array element numbers start at 0, and there is also a $loop.index variable.
Use loop.index instead of loop.count when accessing an array of domains.
Code:
[% d.${loop.index}.domain %]
 
Back
Top