How to get html source code from external url

后端 未结 3 712
忘掉有多难
忘掉有多难 2020-12-06 07:03

How can I get html source code from an external web page?

Something like: getHtml(\'http://google.com\');.

I\'ve tried to get content of iframe

3条回答
  •  醉酒成梦
    2020-12-06 07:41

    Cross domain? not possible without a server process. If you are on windows and can use HTA you can use the iframe

提交回复
热议问题