Hello,
The objective is to extract the value of HTML DOM Property such as id,href and data-download-file-url for each of the images displayed from this [website][https://www.freepik.com/search?dates=an ... rt=popular]. I believe XPATH will be suitable for this task as each of the image can be accessed by the following generalise XPATH
Code: Select all
/html/body/main/section[2]/div/div/figure[X]/div
I know that, to extract the properties of Figure 1, for example, can be achieved by
Code: Select all
TAG XPATH="/html/body/main/section[2]/div/div/figure[1]" EXTRACT=TXT
According to the tutorial below;
[OP1][https://forum.imacros.net/viewtopic.php?t=26155]
[OP2][https://stackoverflow.com/questions/385 ... cros-xpath]
Extracting specific DOM property can be achieved by something like the following
Code: Select all
TAG XPATH="/html/body/main/section[2]/div/div/figure[1]/div[@id='showcase__content'] " EXTRACT=TXT
I really appreciate if someone can shed some light about this problem.