WebScrapperJS - Tutorial

by sh20raj

HTML

<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/WebScrapperJS@main/WebScrapper.min.js" ></script>
<script>
var json = WebScrapper.fetchjson('https://webscrapperjs.sh20raj.repl.co/sample.json');//This will be return the JSON inside the webpage. 
console.log(json);
console.log(json.id);
</script>