XPathOnURL formula :: GitHub Stars

Hello,

I am XPathOnURL newbie, amazing formula!
What is the XPathOnURL formula for scraping GitHub count stars?

Website:
https://github.com/dashpay/dash/stargazers

Source code:
Star
(a class="social-count js-social-count" href=" /dashpay/dash/stargazers"
aria-label="871 users starred this repository" > 871

Expected Result: 871

Thanks in advance,
Myrna

Try this:
=XPathOnUrl(A1;"//a[@class='social-count js-social-count']")

Where A1 is the URL (replace semi-colon with comma if you're using US argument separators.

1 Like