I made a script that downloads a page (and I am not the owner of this page) with a GET request,I know that the HTML reponse is available through
reponseText
but I have no Idea how to parse this string (which include <html>
,<head>
and <body>
tags) in order to transform it to an HTML document (Not an XML document!); please, have you any ideas ? at least one method working for Firefox.
Comment