Web scraping using jQuery

You can use below code to scrape data from JavaScript or jQuery

jQuery(“body”).append(‘<textarea id=”scriptrr” cols=”70″ rows=”20″></textarea>’);

jQuery(“#scriptrr”).val(jQuery(“body”).html());

 

Comments are closed.
Subscribe Scroll to Top