
{"id":559,"date":"2016-05-30T11:30:38","date_gmt":"2016-05-30T03:30:38","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=559"},"modified":"2016-05-30T11:30:38","modified_gmt":"2016-05-30T03:30:38","slug":"%e6%80%8e%e4%b9%88%e5%88%a4%e6%96%ad%e7%99%be%e5%ba%a6%e7%bd%91%e7%9b%98%e5%88%86%e4%ba%ab%e8%bf%9e%e6%8e%a5%e5%b7%b2%e7%bb%8f%e5%a4%b1%e6%95%88%ef%bc%9f%e6%9c%89%e9%82%a3%e4%b9%88%e7%ae%80%e5%8d%95","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/559.html","title":{"rendered":"\u600e\u4e48\u5224\u65ad\u767e\u5ea6\u7f51\u76d8\u5206\u4eab\u8fde\u63a5\u5df2\u7ecf\u5931\u6548\uff1f\u6709\u90a3\u4e48\u7b80\u5355\u5417\uff1fjava+python"},"content":{"rendered":"<p>\u6211\u4e0d\u77e5\u9053\u73b0\u5728\u6709\u591a\u5c11\u4eba\u5728\u7528\u7f51\u76d8\u641c\u7d22\u5f15\u64ce\uff0c\u4f46\u5c31<a title=\"\u53bb\u8f6c\u76d8\u7f51\" href=\"http:\/\/www.quzhuanpan.com\/\" target=\"_blank\">\u53bb\u8f6c\u76d8\u7f51<\/a>\u6765\u8bf4\u672c\u4eba\u503e\u6ce8\u4e86\u5f88\u591a\u7684\u5fc3\u8840\uff0c\u73b0\u5728\u4f7f\u7528\u7684\u4eba\u6570\u4e5f\u8fd8\u53ef\u4ee5\uff0c\u7f51\u76d8\u8d44\u6e90\u90fd\u6709\u4e2a\u901a\u75c5\uff0c\u90a3\u5c31\u662f\u8d44\u6e90\u53ef\u80fd\u5931\u6548\uff0c\u4f46\u5f88\u591a\u5f15\u64ce\u90fd\u6ca1\u6709\u505a\u5931\u6548\u5224\u65ad\uff0c\u5c24\u5176\u662f\u4e00\u4e9bgoogle\u81ea\u5b9a\u4e49\u7684\u5f15\u64ce\uff0c\u6280\u672f\u542b\u91cf\u4e0d\u9ad8\uff0c\u7ad9\u957f\u4e5f\u5c31\u82b1\u5fc3\u601d\u8d5a\u94b1\uff0c\u5f88\u5c11\u8003\u8651\u7528\u6237\u4f53\u9a8c\u3002\u8fd9\u7bc7\u6587\u7ae0\u662f\u672c\u4eba\u53c8\u4e00\u7bc7\u6280\u672f\u516c\u5f00\u535a\u5ba2\uff0c\u4e4b\u524d\u672c\u4eba\u5df2\u7ecf\u516c\u5f00\u4e86\u53bb\u8f6c\u76d8\u7f51\u7684\u51e0\u4e4e\u6240\u6709\u7684\u6280\u672f\u7ec6\u8282\uff0c\u8fd9\u4e00\u7bc7\u7ee7\u7eed\u8865\u5145\uff1a<\/p>\n<p>\u9996\u5148\u505a\u4e2a\u56de\u987e\uff1a<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51351680\" target=\"_blank\">\u767e\u5ea6\u7f51\u76d8\u722c\u866b<\/a>\u00a0<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51452215\" target=\"_blank\">\u00a0java\u5206\u8bcd\u7b97\u6cd5<\/a>\u00a0<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51473705\" target=\"_blank\">\u6570\u636e\u5e93\u81ea\u52a8\u5907\u4efd<\/a>\u00a0<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51329140\" target=\"_blank\">\u4ee3\u7406\u670d\u52a1\u5668\u722c\u53d6<\/a>\u00a0<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51332189\" target=\"_blank\">\u9080\u8bf7\u597d\u53cb\u6ce8\u518c<\/a><\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\ning:utf-8\r\n&quot;&quot;&quot;\r\n@author:haoning\r\n@create time:2015.8.5\r\n&quot;&quot;&quot;\r\nfrom __future__ import division  # \u7cbe\u786e\u9664\u6cd5\r\nfrom Queue import Queue\r\nfrom __builtin__ import False\r\nfrom _sqlite3 import SQLITE_ALTER_TABLE\r\nfrom collections import OrderedDict\r\nimport copy\r\nimport datetime\r\nimport json\r\nimport math\r\nimport os\r\nimport random\r\nimport platform\r\nimport re\r\nimport threading, errno, datetime\r\nimport time\r\nimport urllib2\r\nimport MySQLdb as mdb\r\n\r\n\r\nDB_HOST = '127.0.0.1'\r\nDB_USER = 'root'\r\nDB_PASS = 'root'\r\n\r\n\r\ndef gethtml(url):\r\n    try:\r\n        print &quot;url&quot;,url\r\n        req = urllib2.Request(url)\r\n        response = urllib2.urlopen(req,None,8) #\u5728\u8fd9\u91cc\u5e94\u8be5\u52a0\u5165\u4ee3\u7406\r\n        html = response.read()\r\n        return html\r\n    except Exception,e:\r\n        print &quot;e&quot;,e\r\n\r\nif __name__ == '__main__':\r\n\r\n   while 1:\r\n       #url='http:\/\/pan.baidu.com\/share\/link?uk=1813251526&amp;shareid=540167442'\r\n       url=&quot;http:\/\/pan.baidu.com\/s\/1qXQD2Pm&quot;\r\n       html=gethtml(url)\r\n       print html\r\n<\/pre>\n<p>\u7ed3\u679c\uff1ae HTTP Error 403: Forbidden\uff0c\u8fd9\u5c31\u662f\u8bf4\uff0c\u5ea6\u5a18\u4ed6\u662f\u53cd\u722c\u866b\u7684\uff0c\u4e4b\u540e\u770b\u4e86\u5f88\u591a\u7f51\u7ad9\uff0c\u4e00\u4e0d\u5c0f\u5fc3\u8bd5\u4e86\u4e0b\u9762\u7684\u94fe\u63a5\uff1a<\/p>\n<p>http:\/\/pan.baidu.com\/share\/link?uk=1813251526&amp;shareid=540167442<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nif __name__ == '__main__':\r\n\r\n   while 1:\r\n       url='http:\/\/pan.baidu.com\/share\/link?uk=1813251526&amp;shareid=540167442'\r\n       #url=&quot;http:\/\/pan.baidu.com\/s\/1qXQD2Pm&quot;\r\n       html=gethtml(url)\r\n       print html\r\n<\/pre>\n<p>\u7ed3\u679c\uff1a&lt;title&gt;\u767e\u5ea6\u4e91 \u7f51\u76d8-\u94fe\u63a5\u4e0d\u5b58\u5728&lt;\/title&gt;\uff0c\u4f60\u61c2\u7684\uff0c\u6709\u8fd9\u4e2a\u7684\u5fc5\u7136\u5df2\u7ecf\u5931\u6548\uff0c\u770b\u6765\u5ea6\u5a18\u6ca1\u6709\u53cd\u722c\u866b\uff0c\u597d\u5bb6\u4f19\u3002<\/p>\n<p>\u5176\u5b9e\u767e\u5ea6\u7f51\u76d8\u7684\u8d44\u6e90\u5165\u53e3\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a<\/p>\n<p>\u4e00\u79cd\u662f\uff1ahttp:\/\/pan.baidu.com\/s\/1qXQD2Pm\uff0c\u6700\u540e\u4e3a\u77ed\u7801\u3002<\/p>\n<p>http:\/\/pan.baidu.com\/share\/link?uk=1813251526&shareid=540167442\uff0c\u5173\u952e\u662f shareId+uk<br \/>\n\u524d\u8005\u5df2\u77e5\u9053\u53cd\u722c\u866b\uff0c\u540e\u8005\u76ee\u524d\u6ca1\u6709\uff0c\u6240\u4ee5\u7528python\u6d4b\u8bd5\u540e\uff0c\u672c\u4eba\u53c8\u5c06\u4ee3\u7801\u7ffb\u8bd1\u6210\u4e86java\uff0c\u56e0\u4e3a\u53bb\u8f6c\u76d8\u662f\u7528java\u5199\u7684\uff0c<br \/>\n\u76f4\u63a5\u4e0a\u4ee3\u7801\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\npackage com.tray.common.utils;\r\n\r\nimport static org.junit.Assert.*;\r\n\r\nimport java.io.BufferedReader;\r\nimport java.io.IOException;\r\nimport java.io.InputStream;\r\nimport java.io.InputStreamReader;\r\nimport java.net.HttpURLConnection;\r\nimport java.net.MalformedURLException;\r\nimport java.net.URL;\r\nimport java.util.HashMap;\r\nimport java.util.Iterator;\r\nimport java.util.Map;\r\nimport java.util.Properties;\r\nimport java.util.Random;\r\nimport java.util.Set;\r\n\r\nimport org.jsoup.Jsoup;\r\nimport org.jsoup.nodes.Document;\r\nimport org.jsoup.select.Elements;\r\nimport org.junit.Test;\r\n\r\n\/**\r\n * \u8d44\u6e90\u6821\u9a8c\u5de5\u5177\r\n * \r\n * @author hui\r\n * \r\n *\/\r\npublic class ResourceCheckUtil {\r\n\tprivate static Map&lt;String, String&#x5B;]&gt; rules;\r\n\tstatic {\r\n\t\tloadRule();\r\n\t}\r\n\r\n\t\/**\r\n\t * \u52a0\u8f7d\u89c4\u5219\u5e93\r\n\t *\/\r\n\tpublic static void loadRule() {\r\n\t\ttry {\r\n\t\t\tInputStream in = ResourceCheckUtil.class.getClassLoader()\r\n\t\t\t\t\t.getResourceAsStream(&quot;rule.properties&quot;);\r\n\t\t\tProperties p = new Properties();\r\n\t\t\tp.load(in);\r\n\t\t\tSet&lt;Object&gt; keys = p.keySet();\r\n\t\t\tIterator&lt;Object&gt; iterator = keys.iterator();\r\n\t\t\tString key = null;\r\n\t\t\tString value = null;\r\n\t\t\tString&#x5B;] rule = null;\r\n\t\t\trules = new HashMap&lt;String, String&#x5B;]&gt;();\r\n\t\t\twhile (iterator.hasNext()) {\r\n\t\t\t\tkey = (String) iterator.next();\r\n\t\t\t\tvalue = (String) p.get(key);\r\n\t\t\t\trule = value.split(&quot;\\\\|&quot;);\r\n\t\t\t\trules.put(key, rule);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic static String httpRequest(String url) {\r\n\t\ttry {\r\n\t\t\tURL u = new URL(url);\r\n\t\t\tRandom random = new Random();\r\n\t\t\tHttpURLConnection connection = (HttpURLConnection) u\r\n\t\t\t\t\t.openConnection();\r\n\t\t\tconnection.setConnectTimeout(3000);\/\/3\u79d2\u8d85\u65f6\r\n\t\t\tconnection.setReadTimeout(3000); \r\n\t\t\tconnection.setDoOutput(true);\r\n\t\t\tconnection.setDoInput(true);\r\n\t\t\tconnection.setUseCaches(false);\r\n\t\t\tconnection.setRequestMethod(&quot;GET&quot;);\r\n\t\t\t\r\n\t\t\tString&#x5B;] user_agents = {\r\n                    &quot;Mozilla\/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko\/20071127 Firefox\/2.0.0.11&quot;,\r\n                    &quot;Opera\/9.25 (Windows NT 5.1; U; en)&quot;,\r\n                    &quot;Mozilla\/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)&quot;,\r\n                    &quot;Mozilla\/5.0 (compatible; Konqueror\/3.5; Linux) KHTML\/3.5.5 (like Gecko) (Kubuntu)&quot;,\r\n                    &quot;Mozilla\/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko\/20070731 Ubuntu\/dapper-security Firefox\/1.5.0.12&quot;,\r\n                    &quot;Lynx\/2.8.5rel.1 libwww-FM\/2.14 SSL-MM\/1.4.1 GNUTLS\/1.2.9&quot;,\r\n                    &quot;Mozilla\/5.0 (X11; Linux i686) AppleWebKit\/535.7 (KHTML, like Gecko) Ubuntu\/11.04 Chromium\/16.0.912.77 Chrome\/16.0.912.77 Safari\/535.7&quot;,\r\n                    &quot;Mozilla\/5.0 (X11; Ubuntu; Linux i686; rv:10.0) Gecko\/20100101 Firefox\/10.0 &quot;\r\n            };\r\n\t\t\tint index=random.nextInt(7);\r\n\t\t\t\/*connection.setRequestProperty(&quot;Content-Type&quot;,\r\n\t\t\t\t\t&quot;text\/html;charset=UTF-8&quot;);*\/\r\n\t\t\tconnection.setRequestProperty(&quot;User-Agent&quot;,user_agents&#x5B;index]);\r\n\t\t\t\/*connection.setRequestProperty(&quot;Accept-Encoding&quot;,&quot;gzip, deflate, sdch&quot;);\r\n\t\t\tconnection.setRequestProperty(&quot;Accept-Language&quot;,&quot;zh-CN,zh;q=0.8&quot;);\r\n\t\t\tconnection.setRequestProperty(&quot;Connection&quot;,&quot;keep-alive&quot;);\r\n\t\t\tconnection.setRequestProperty(&quot;Host&quot;,&quot;pan.baidu.com&quot;);\r\n\t\t\tconnection.setRequestProperty(&quot;Cookie&quot;,&quot;&quot;);\r\n\t\t\tconnection.setRequestProperty(&quot;Upgrade-Insecure-Requests&quot;,&quot;1&quot;);*\/\r\n\t\t\tInputStream in = connection.getInputStream();\r\n\r\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(in,\r\n\t\t\t\t\t&quot;utf-8&quot;));\r\n\t\t\tStringBuffer sb = new StringBuffer();\r\n\t\t\tString line = null;\r\n\t\t\twhile ((line = br.readLine()) != null) {\r\n\t\t\t\tsb.append(line);\r\n\t\t\t}\r\n\t\t\treturn sb.toString();\r\n\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}\r\n\r\n\t @Test\r\n\t public void test7() throws Exception {\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/pan.baidu.com\/s\/1jGjBmyq&quot;,\r\n\t\t &quot;baidu&quot;));\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/pan.baidu.com\/s\/1jGjBmyqa&quot;,\r\n\t\t &quot;baidu&quot;));\r\n\t\t\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/yunpan.cn\/cQx6e6xv38jTd&quot;,&quot;360&quot;));\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/yunpan.cn\/cQx6e6xv38jTdd&quot;,\r\n\t\t &quot;360&quot;));\r\n\t\t\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/share.weiyun.com\/ec4f41f0da292adb89a745200b8e8b57&quot;,&quot;weiyun&quot;));\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/share.weiyun.com\/ec4f41f0da292adb89a745200b8e8b57dd&quot;,\r\n\t\t &quot;360&quot;));\r\n\t\t\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/cloud.letv.com\/s\/eiGLzuSes&quot;,&quot;leshi&quot;));\r\n\t\t System.out.println(isExistResource(&quot;http:\/\/cloud.letv.com\/s\/eiGLzuSesdd&quot;,\r\n\t\t &quot;leshi&quot;));\r\n\t }\r\n\r\n\t\/**\r\n\t * \u83b7\u53d6\u6307\u5b9a\u9875\u9762\u4e0a\u6807\u7b7e\u7684\u5185\u5bb9\r\n\t * \r\n\t * @param url\r\n\t * @param tagName\r\n\t *            \u6807\u7b7e\u540d\u79f0\r\n\t * @return\r\n\t *\/\r\n\tprivate static String getHtmlContent(String url, String tagName) {\r\n\t\tString html = httpRequest(url);\r\n\t\tif(html==null){\r\n\t\t\treturn &quot;&quot;;\r\n\t\t}\r\n\t\tDocument doc = Jsoup.parse(html);\r\n\t\t\/\/System.out.println(&quot;doc======&quot;+doc);\r\n\t\tElements tag=null;\r\n\t\tif(tagName.equals(&quot;&lt;h3&gt;&quot;)){ \/\/\u9488\u5bf9\u5fae\u4e91\r\n\t\t\ttag=doc.select(&quot;h3&quot;);\r\n\t\t}\r\n\t\telse if(tagName.equals(&quot;class&quot;)){ \/\/\u9488\u5bf9360\r\n\t\t\ttag=doc.select(&quot;div&#x5B;class=tip]&quot;);\r\n\t\t}\r\n\t\telse{\r\n\t\t\ttag= doc.getElementsByTag(tagName);\r\n\t\t}\r\n\t\t\/\/System.out.println(&quot;tag======&quot;+tag);\r\n\t\tString content=&quot;&quot;;\r\n\t\tif(tag!=null&amp;&amp;!tag.isEmpty()){\r\n\t\t\tcontent = tag.get(0).text();\r\n\t\t}\r\n\t\treturn content;\r\n\t}\r\n\r\n\tpublic static int isExistResource(String url, String ruleName) {\r\n\t\ttry {\r\n\t\t\tString&#x5B;] rule = rules.get(ruleName);\r\n\t\t\tString tagName = rule&#x5B;0];\r\n\t\t\tString opt = rule&#x5B;1];\r\n\t\t\tString flag = rule&#x5B;2];\r\n\t\t\t\/*System.out.println(&quot;ruleName&quot;+ruleName);\r\n\t\t\tSystem.out.println(&quot;tagName&quot;+tagName);\r\n\t\t\tSystem.out.println(&quot;opt&quot;+opt);\r\n\t\t\tSystem.out.println(&quot;flag&quot;+flag);\r\n\t\t\tSystem.out.println(&quot;url&quot;+url);*\/\r\n\t\t\tString content = getHtmlContent(url, tagName);\r\n\t\t\t\/\/System.out.println(&quot;content=&quot;+content);\r\n\t\t\tif(ruleName.equals(&quot;baidu&quot;)){\r\n\t\t\t\tif(content.contains(&quot;\u767e\u5ea6\u4e91\u5347\u7ea7&quot;)){ \/\/\u5347\u7ea7\u4f5c\u4e3a\u4e0d\u5b58\u5728\u5904\u7406\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tString regex = null;\r\n\t\t\tif (&quot;eq&quot;.equals(opt)) {\r\n\t\t\t\tregex = &quot;^&quot; + flag + &quot;$&quot;;\r\n\t\t\t} else if (&quot;bg&quot;.equals(opt)) {\r\n\t\t\t\tregex = &quot;^&quot; + flag + &quot;.*$&quot;;\r\n\t\t\t} else if (&quot;ed&quot;.equals(opt)) {\r\n\t\t\t\tregex = &quot;^.*&quot; + flag + &quot;$&quot;;\r\n\t\t\t} else if (&quot;like&quot;.equals(opt)) {\r\n\t\t\t\tregex = &quot;^.*&quot; + flag + &quot;.*$&quot;;\r\n\t\t\t}else if(&quot;contain&quot;.equals(opt)){\r\n\t\t\t\tif(content.contains(flag)){\r\n\t\t\t\t\treturn 0;\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(content.matches(regex)){\r\n\t\t\t\treturn 1;\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn 0;\r\n\t}\r\n\r\n\t\/\/ public static void main(String&#x5B;] args)throws Exception {\r\n\t\/\/ final Path p = Paths.get(&quot;C:\/Users\/hui\/Desktop\/6-14\/&quot;);\r\n\t\/\/ final WatchService watchService =\r\n\t\/\/ FileSystems.getDefault().newWatchService();\r\n\t\/\/ p.register(watchService, StandardWatchEventKinds.ENTRY_MODIFY);\r\n\t\/\/ new Thread(new Runnable() {\r\n\t\/\/\r\n\t\/\/ public void run() {\r\n\t\/\/ while(true){\r\n\t\/\/ System.out.println(&quot;\u68c0\u6d4b\u4e2d\u3002\u3002\u3002\u3002&quot;);\r\n\t\/\/ try {\r\n\t\/\/ WatchKey watchKey = watchService.take();\r\n\t\/\/ List&lt;WatchEvent&lt;?&gt;&gt; watchEvents = watchKey.pollEvents();\r\n\t\/\/\r\n\t\/\/ for(WatchEvent&lt;?&gt; event : watchEvents){\r\n\t\/\/ \/\/TODO \u6839\u636e\u4e8b\u4ef6\u7c7b\u578b\u91c7\u53d6\u4e0d\u540c\u7684\u64cd\u4f5c\u3002\u3002\u3002\u3002\u3002\u3002\u3002\r\n\t\/\/ System.out.println(&quot;&#x5B;&quot;+p.getFileName()+&quot;\/&quot;+event.context()+&quot;]\u6587\u4ef6\u53d1\u751f\u4e86&#x5B;&quot;+event.kind()+&quot;]\u4e8b\u4ef6&quot;);\r\n\t\/\/ }\r\n\t\/\/ watchKey.reset();\r\n\t\/\/\r\n\t\/\/ } catch (Exception e) {\r\n\t\/\/ e.printStackTrace();\r\n\t\/\/ }\r\n\t\/\/ }\r\n\t\/\/ }\r\n\t\/\/ }).start();\r\n\t\/\/ }\r\n\t\r\n\/\/\t@Test\r\n\/\/\tpublic void testName() throws Exception {\r\n\/\/\t\tSystem.out.println(new String(&quot;\\u8BF7\\u8F93\\u5165\\u63D0\\u53D6\\u7801&quot;.getBytes(&quot;utf-8&quot;), &quot;utf-8&quot;));\r\n\/\/\t}\r\n\r\n}\r\n\r\n\r\n<\/pre>\n<p>\u6ce8\u610f\u4ee3\u7801\u672c\u751f\u8981\u7528\u6765\u517c\u5bb9360\uff0c\u5fae\u76d8\u7b49\u7f51\u76d8\u7684\uff0c\u4f46\u6709\u4e9b\u7f51\u76d8\u5012\u4e86\uff0c\u5927\u5bb6\u90fd\u77e5\u9053\uff0c\u4e0d\u8fc7\u4ee3\u7801\u8fd8\u662f\u5f97\u5728\uff0c\u8fd9\u624d\u662f\u7a0b\u5e8f\u733f\u8be5\u6709\u7684\u601d\u8def\uff0c\u90a3\u5c31\u662f\u53ef\u5bbd\u5c55\uff0c\u6ce8\u610f\u4ee3\u7801\u6709\u4e2a\u914d\u7f6e\u6587\u4ef6\uff0c\u6211\u4e5f\u9644\u4e0a\u5427\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\r\n360=class|contain|\\u5206\\u4EAB\\u8005\\u5DF2\\u53D6\\u6D88\\u6B64\\u5206\\u4EAB\r\nbaidu=title|contain|\\u94FE\\u63A5\\u4E0D\\u5B58\\u5728\r\nweiyun=&lt;h3&gt;|contain|\\u5206\\u4EAB\\u8D44\\u6E90\\u5DF2\\u7ECF\\u5220\\u9664\r\nleshi=title|ed|\\u63D0\\u53D6\\u6587\\u4EF6\r\n<\/pre>\n<p>sorry\uff0cunicode\u7f16\u7801\uff0c\u9ebb\u70e6\u4f60\u81ea\u5df1\u8f6c\u4e0b\u7801\u5427\uff0c\u4e0d\u4f1a\u8bf7\u767e\u5ea6\uff1aunicode\u8f6c\u7801\u5de5\u5177<\/p>\n<p>\u5230\u6b64\uff0c\u767d\u7f51\u76d8\u7f51\u8fde\u63a5\u662f\u5426\u5931\u6548\u7684\u9a8c\u8bc1\uff0c\u4ee3\u7801\u6211\u5df2\u7ecf\u5b8c\u5168\u516c\u5f00\uff0c\u559c\u6b22\u8fd9\u7bc7\u535a\u5ba2\u7684\u5b69\u5b50\u8bf7\u6536\u85cf\u5e76\u5173\u6ce8\u4e0b\u3002<\/p>\n<p>\u539f\u6587\u5730\u5740\uff1a<br \/>\n<a href=\"http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51534054\" target=\"_blank\">http:\/\/blog.csdn.net\/qq_34844199\/article\/details\/51534054<\/a><\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u600e\u4e48\u5224\u65ad\u767e\u5ea6\u7f51\u76d8\u5206\u4eab\u8fde\u63a5\u5df2\u7ecf\u5931\u6548\uff1f\u6709\u90a3\u4e48\u7b80\u5355\u5417\uff1fjava+python \u6e90\u7801\u5206\u4eab\u3002\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[140],"class_list":["post-559","post","type-post","status-publish","format-standard","hentry","category-the-development-of-communication-technology","tag-140"],"post_thumbnail_image":"","content_first_image":null,"post_medium_image_300":"","post_thumbnail_image_624":"","post_frist_image":null,"post_medium_image":"","post_large_image":"","post_full_image":"","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u5f00\u53d1\u6280\u672f\u4ea4\u6d41","post_date":"2016-05-30","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":515,"next_post_id":607,"next_post_title":"\u6d4f\u89c8\u5668\u4e2d\u5524\u8d77native app || \u8df3\u8f6c\u5230\u5e94\u7528\u5546\u57ce\u4e0b\u8f7d","previous_post_id":529,"previous_post_title":"Google I\/O 2016: Android \u6f14\u8bb2\u89c6\u9891\u6c47\u603b","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/559\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}