Is it possible to EASILLY copy a html element from another site (a calculator) including the referencing JS

Sartre

Ignored a dispute resolution thread against them.
Joined
Apr 1, 2010
Messages
1,672
Reaction score
4,573
everything is happening on the client-side.

I'm wondering if there is some easy out-of-the-box solution for copying HTML elements with all their JS scripts? Stuff like calculators - they don't do any requests to the server.

example: https://www.omnicalculator.com/health/bmi

I know I can embed this, but I want to rip it and put it on my site without embedding (since we are on a black hat site I guess it's ok to ask here)

thanks for any tips!
 
Its simple. Any junior freelancer can do this. Need to copy HTML and JavaScript code. That's it.
 
BMI is a simple formula: BMI = (weight) / (height * height)

This might help: https://www.geeksforgeeks.org/design-a-bmi-calculator-using-javascript/
obviously I'm not asking about this calculator in particular
Its simple. Any junior freelancer can do this. Need to copy HTML and JavaScript code. That's it.
I can do it manually. I'm just wondering if there is som ready-made javascript scraper for stuff like this? I would like to scrape hundreds of calculators.
 
if you're using python, use phantomjs to get the js script, in case selenium is too heavy
Requests or mechanize should get the js as well in some cases, it really depends on how you're doing your scraping
 
if you're using python, use phantomjs to get the js script, in case selenium is too heavy
Requests or mechanize should get the js as well in some cases, it really depends on how you're doing your scraping
thanks
 
Back
Top