[WEB] Get URLs from Search Engine Results [Example]

This XPATH does seem to be matching in the Console:

//*[@class='yuRUbf']/a

where @ccstone's

Array.from(document.querySelectorAll("div.yuRUbf > a"), x => x.href).join('\n')

is also yielding a harvest.

Hey @ComplexPoint as expected, I was doing something wrong and I am able to get the results, thank you so much to you, @ccstone and @JMichaelTX - the best forum in the world. =)

Just an awesome macro @JMichaelTX!!

Blessings to all.....

3 Likes