|
60精币
网页和源代码能获取网页内容,用精易模块网页访问不行是缺少什么啊,要怎么弄啊,大神帮助一下,感谢
https://www.huobi.com/support/zh-cn/list/360000061481
.版本 2
.支持库 spec
ticker = 编码_utf8到gb2312 (到文本 (网页_访问 (“https://www.huobi.com/support/zh-cn/list/360000061481”, 0, , , , “User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36”)))
调试输出 (ticker)
* “<!doctype html><html data-n-head-ssr class="zh-cn is-pc" lang="zh-cn" style="height:auto" data-n-head="%7B%22class%22:%7B%22ssr%22:%22zh-cn%20is-pc%22%7D,%22lang%22:%7B%22ssr%22:%22zh-cn%22%7D,%22style%22:%7B%22ssr%22:%22height:auto%22%7D%7D"><head><script>!function(){"use strict";function e(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,r)}return t}function o(o){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?e(Object(n),!0).forEach((function(e){r(o,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(n,e))}))}return o}function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}!function(e){var r="woodpeckerSdkJson",n=["Promise","Object.keys","Object.assign"],c="noStart",s=[],i=null,l={},p=null;function a(o){return new Promise((function(t){!function r(){e.woodpecker&&e.woodpecker[o]?t(e.woodpecker):setTimeout(r,100)}()}))}function u(o){try{return o.every((function(o){for(var t=o.split("."),r=e;t.length&&r;)r=r[t.shift()];return!!r}))}catch(e){return console.error("isSupportEr
被调试易程序运行完毕
|
最佳答案
查看完整内容
编辑框1.内容=ticker 试试看,调试输出的内容不完整
|