screen scraping using js
screen scraping using js
- Started
- Last post
- 2 Responses
- cosmo0
this does the trick. thanks.
<script>
var req = new XMLHttpRequest();
req.open('GET', 'urlgoeshere', false);
req.send(null);
if(req.status == 200)
alert(req.responseText);
</script>
- acescence0
you could with xmlhttprequest, but if it's outside of the present domain i think you'd have to use a proxy to read data from external urls... and php and curl.
- cosmo
is there a way to read website content of a given url using javascript? Can be done using curl and php with no hassle.
Any suggestions you javascript gods?