Jump to content

just done this in the browser console

const rasied = document.getElementsByClassName('m-progress-meter-heading');
const [amount, ...parts] = rasied[0].textContent.split(' ');
const total = parts.join(' ');
console.log({
	amount,
    total
})

will print 

{amount: "$2,401,380", total: "raised of $2,450,000 target"}



 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/1200375-web-scrape-gofundme/#findComment-13648105
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×