Python爬虫: 抓取One网页上的每日一话和图

原文出处: 取水    

先说下需求:

最近打算搜集点源数据,丰富下生活。嗯,最近看到One这个APP蛮好的。每天想你推送一张图和一段话。很喜欢,简单不复杂。而我想要把所有的句子都保存下来,又不想要每个页面都去手动查看。因此,就有了Python。之前有点Python基础,不过没有深入。现在也没有深入,用哪学哪吧。
网站的内容是这样的,我想要图片和这段话:

 

(一)

一台MAC电脑

(二)Python环境搭建(所有命令都是在terminal中输入的)

  • 安装homebrew

    Shell

    1
    /usr/bin/ruby e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

  • 安装pip:这里我在terminal中输入python -v,homebrew会自动帮你升级Python到2.7.11版本的。2.7.11版本里自带了pip工具。
  • 安装virtualenv:

    Shell

    1
    pip install virtualenv

  • 安装request和beautifulsoup4:

    Shell

    1
    pip install requests beautifulsoup4



    参考这里

(三)分析
目的:找出三个内容所在的网页标签的位置,然后将它们提取出来。
网址:http://wufazhuce.com/one/1293
谷歌浏览器,右键->显示网页源代码,然后就会弹出一堆HTML的东西了。这样的:

 

网页源文件

我想要的内容是这段话:“即使热恋者的情感是错觉、幻象或自恋行为,那又何妨,所谓人生就是一段不断追求情爱的路程。 by 森山大道”。它在图中画红线的地方。在标签里的中,之后会用到,先往下看。
图片的链接在哪里?显然不在中,往下找,然后就在中,发现2处和图片类似的链接。看图

 

图片链接地址

哪个链接是呢,点击去,发现后一个链接,也就是67行这个img标签的链接是。
然后,我还想知道哪一天的图和文字。嗯,在回到标签里,很明显有个,里面的东西就是我们要的。这样:</p> <p><title>VOL.1271 – 「ONE · 一个」


(四)python编码
想要抓取网页上的内容,又不想自己去解析HTML,只好求助万能的Google了。然后就找到了上面的链接。主要有两个工具:request加载网页,BeautifulSoup4解析HTML。

首先,抓取我们需要的哪三个内容:
进入python环境,然后敲入下面的代码:

Python

1
2
3
4
import requests
import bs4
response = requests.get(‘http://wufazhuce.com/one/1295’)
soup = bs4.BeautifulSoup(response.text,“html.parser”)


这样,就可以将网页信息存储到soup中了。你可以敲入print soup试试。

接下来,我们获得VOL.1271 – 「ONE · 一个」中的数字1271。怎么获得呢,beautifulsoup4教程,提供了很好的方法,可以通过tag查找得到title的内容,然后截取字符串。termianl中输入:

Python

1
soup.title.string[3:7]

title是tag值,string是tag=title的字符串的值,也就是之间的值,因为只有一个tag,所以不用做判断,直接获取即可。</p> <p>接下来,获取一段话。</p> <div><img alt="" src="http://jbcdn2.b0.upaiyun.com/2016/04/344d0dfae97318d718e17afb0488ad9e.png">这段话在<meta><code></code>中,而这里又有太多的<meta><code></code>了,怎么办。这里要用到select方法了,它可以查找所有的<meta><code></code>,并返回一个列表。还要用到get方法,get可以获得tag的属性,如tag: <meta  attr=’abc’> tag.get(‘attr’)值等于abc。这里我们要获取的属性是name,通过name=’description’来区分。 </div> </p> <p><!-- Crayon Syntax Highlighter v2.7.1.1 --></p> <div id="crayon-585001a12c52f813166839" data-settings=" minimize scroll-always"> <div data-settings=" show"><span></span></p> <div> <div title="切换是否显示行编号"> <div></div> </div> <div title="纯文本显示代码"> <div></div> </div> <div title="切换自动换行"> <div></div> </div> <div title="点击展开代码"> <div></div> </div> <div title="复制代码"> <div></div> </div> <div title="在新窗口中显示代码"> <div></div> </div> </div> </div> <div></div> <div></div> <div> <table> <tr> <td data-settings="show"> <div> <div data-line="crayon-585001a12c52f813166839-1">1</div> <div data-line="crayon-585001a12c52f813166839-2">2</div> <div data-line="crayon-585001a12c52f813166839-3">3</div> </div> </td> <td> <div> <div id="crayon-585001a12c52f813166839-1"><span>for</span><span> </span><span>meta </span><span>in</span><span> </span><span>soup</span><span>.</span><span>select</span><span>(</span><span>‘meta’</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c52f813166839-2"><span>    </span><span>if</span><span> </span><span>meta</span><span>.</span><span>get</span><span>(</span><span>‘name’</span><span>)</span><span> </span><span>==</span><span> </span><span>‘description’</span><span>:</span></div> <div id="crayon-585001a12c52f813166839-3"><span>        </span><span>print </span><span>meta</span><span>.</span><span>get</span><span>(</span><span>‘content’</span><span>)</span></div> </div> </td> </tr> </table> </div></div> <p><!-- [Format Time: 0.0010 seconds] --></p> <p>接下来,在两个img标签中,查找第2个img标签标定的链接。这里通过find_all方法,它可以查找所有的符合要求的标签。</p> <p><!-- Crayon Syntax Highlighter v2.7.1.1 --></p> <div id="crayon-585001a12c535777513118" data-settings=" minimize scroll-always"> <div data-settings=" show"><span></span></p> <div> <div title="切换是否显示行编号"> <div></div> </div> <div title="纯文本显示代码"> <div></div> </div> <div title="切换自动换行"> <div></div> </div> <div title="点击展开代码"> <div></div> </div> <div title="复制代码"> <div></div> </div> <div title="在新窗口中显示代码"> <div></div> </div> </div> </div> <div></div> <div></div> <div> <table> <tr> <td data-settings="show"> <div> <div data-line="crayon-585001a12c535777513118-1">1</div> </div> </td> <td> <div> <div id="crayon-585001a12c535777513118-1"><span>soup</span><span>.</span><span>find_all</span><span>(</span><span>‘img’</span><span>)</span><span>[</span><span>1</span><span>]</span><span>[</span><span>‘src’</span><span>]</span></div> </div> </td> </tr> </table> </div></div> <p><!-- [Format Time: 0.0005 seconds] --></p> <p>这样,我们就把所需要的信息找出来了。</p> <div><img alt="" src="http://jbcdn2.b0.upaiyun.com/2016/04/0199125f59e48a6d1bc2a6757bd4e06e.png"> </p> <div>终端示例</div> </div> <p>等等,之后我们还需要并发和保存文件。在此之前,先来看点别的。map函数有两个参数,一个是函数,一个是序列。将序列的每个值,作为参数传递给函数,返回一个列表。参考<a href="http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00141861202544241651579c69d4399a9aa135afef28c44000" target="_blank">这里</a><br /> 示例:</p> <p><!-- Crayon Syntax Highlighter v2.7.1.1 --></p> <div id="crayon-585001a12c53c220031891" data-settings=" minimize scroll-always"> <div data-settings=" show"><span></span></p> <div> <div title="切换是否显示行编号"> <div></div> </div> <div title="纯文本显示代码"> <div></div> </div> <div title="切换自动换行"> <div></div> </div> <div title="点击展开代码"> <div></div> </div> <div title="复制代码"> <div></div> </div> <div title="在新窗口中显示代码"> <div></div> </div> </div> </div> <div></div> <div></div> <div> <table> <tr> <td data-settings="show"> <div> <div data-line="crayon-585001a12c53c220031891-1">1</div> <div data-line="crayon-585001a12c53c220031891-2">2</div> <div data-line="crayon-585001a12c53c220031891-3">3</div> <div data-line="crayon-585001a12c53c220031891-4">4</div> <div data-line="crayon-585001a12c53c220031891-5">5</div> </div> </td> <td> <div> <div id="crayon-585001a12c53c220031891-1"><span>def </span><span>echoInfo</span><span>(</span><span>num</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c53c220031891-2"><span>    </span><span>return</span><span> </span><span>num</span></div> <div id="crayon-585001a12c53c220031891-3"> </div> <div id="crayon-585001a12c53c220031891-4"><span>data</span><span> </span><span>=</span><span> </span><span>map</span><span>(</span><span>echoInfo</span><span>,</span><span> </span><span>range</span><span>(</span><span>0</span><span>,</span><span>10</span><span>)</span><span>)</span></div> <div id="crayon-585001a12c53c220031891-5"><span>print </span><span>data</span></div> </div> </td> </tr> </table> </div></div> <p><!-- [Format Time: 0.0008 seconds] --></p> <p>结果: <code>[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]</code><br /> 然后<a href="http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/0013868323401155ceb3db1e2044f80b974b469eb06cb43000" target="_blank">并发</a>, python可以跨平台使用,自身提供了多进程支持模块:multiprocessing。而pool可以用来创建大量的子进程。<br /> 保存数据到文件。这里我们是吧数据解析后存储到字典中,然后序列化为JSON模型,最后保存到文件的。<br /> 即:字典->JSON模型->存储到文件。<br /> 字典->JSON模型,使用的是JSON模块的json.dumps方法,该方法有一个参数,参数为字典,返回值是JSON字符串。<br /> JSON模型->文件,使用的是json.load方法,可以将JSON存储到文件中。</p> <p>全部的代码示例如下:</p> <p><!-- Crayon Syntax Highlighter v2.7.1.1 --></p> <div id="crayon-585001a12c543764125932" data-settings=" minimize scroll-always"> <div data-settings=" show"><span></span></p> <div> <div title="切换是否显示行编号"> <div></div> </div> <div title="纯文本显示代码"> <div></div> </div> <div title="切换自动换行"> <div></div> </div> <div title="点击展开代码"> <div></div> </div> <div title="复制代码"> <div></div> </div> <div title="在新窗口中显示代码"> <div></div> </div> </div> </div> <div></div> <div></div> <div> <table> <tr> <td data-settings="show"> <div> <div data-line="crayon-585001a12c543764125932-1">1</div> <div data-line="crayon-585001a12c543764125932-2">2</div> <div data-line="crayon-585001a12c543764125932-3">3</div> <div data-line="crayon-585001a12c543764125932-4">4</div> <div data-line="crayon-585001a12c543764125932-5">5</div> <div data-line="crayon-585001a12c543764125932-6">6</div> <div data-line="crayon-585001a12c543764125932-7">7</div> <div data-line="crayon-585001a12c543764125932-8">8</div> <div data-line="crayon-585001a12c543764125932-9">9</div> <div data-line="crayon-585001a12c543764125932-10">10</div> <div data-line="crayon-585001a12c543764125932-11">11</div> <div data-line="crayon-585001a12c543764125932-12">12</div> <div data-line="crayon-585001a12c543764125932-13">13</div> <div data-line="crayon-585001a12c543764125932-14">14</div> <div data-line="crayon-585001a12c543764125932-15">15</div> <div data-line="crayon-585001a12c543764125932-16">16</div> <div data-line="crayon-585001a12c543764125932-17">17</div> <div data-line="crayon-585001a12c543764125932-18">18</div> <div data-line="crayon-585001a12c543764125932-19">19</div> <div data-line="crayon-585001a12c543764125932-20">20</div> <div data-line="crayon-585001a12c543764125932-21">21</div> <div data-line="crayon-585001a12c543764125932-22">22</div> <div data-line="crayon-585001a12c543764125932-23">23</div> <div data-line="crayon-585001a12c543764125932-24">24</div> <div data-line="crayon-585001a12c543764125932-25">25</div> <div data-line="crayon-585001a12c543764125932-26">26</div> <div data-line="crayon-585001a12c543764125932-27">27</div> <div data-line="crayon-585001a12c543764125932-28">28</div> <div data-line="crayon-585001a12c543764125932-29">29</div> <div data-line="crayon-585001a12c543764125932-30">30</div> <div data-line="crayon-585001a12c543764125932-31">31</div> <div data-line="crayon-585001a12c543764125932-32">32</div> <div data-line="crayon-585001a12c543764125932-33">33</div> <div data-line="crayon-585001a12c543764125932-34">34</div> <div data-line="crayon-585001a12c543764125932-35">35</div> <div data-line="crayon-585001a12c543764125932-36">36</div> <div data-line="crayon-585001a12c543764125932-37">37</div> <div data-line="crayon-585001a12c543764125932-38">38</div> <div data-line="crayon-585001a12c543764125932-39">39</div> <div data-line="crayon-585001a12c543764125932-40">40</div> <div data-line="crayon-585001a12c543764125932-41">41</div> <div data-line="crayon-585001a12c543764125932-42">42</div> </div> </td> <td> <div> <div id="crayon-585001a12c543764125932-1"><span>import </span><span>argparse</span></div> <div id="crayon-585001a12c543764125932-2"><span>import </span><span>re</span></div> <div id="crayon-585001a12c543764125932-3"><span>from </span><span>multiprocessing </span><span>import </span><span>Pool</span></div> <div id="crayon-585001a12c543764125932-4"><span>import </span><span>requests</span></div> <div id="crayon-585001a12c543764125932-5"><span>import </span><span>bs4</span></div> <div id="crayon-585001a12c543764125932-6"><span>import </span><span>time</span></div> <div id="crayon-585001a12c543764125932-7"><span>import </span><span>json</span></div> <div id="crayon-585001a12c543764125932-8"><span>import </span><span>io</span></div> <div id="crayon-585001a12c543764125932-9"> </div> <div id="crayon-585001a12c543764125932-10"><span>root_url</span><span> </span><span>=</span><span> </span><span>‘http://wufazhuce.com’</span></div> <div id="crayon-585001a12c543764125932-11"> </div> <div id="crayon-585001a12c543764125932-12"><span>def </span><span>get_url</span><span>(</span><span>num</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c543764125932-13"><span>    </span><span>return</span><span> </span><span>root_url</span><span> </span><span>+</span><span> </span><span>‘/one/’</span><span> </span><span>+</span><span> </span><span>str</span><span>(</span><span>num</span><span>)</span></div> <div id="crayon-585001a12c543764125932-14"> </div> <div id="crayon-585001a12c543764125932-15"><span>def </span><span>get_urls</span><span>(</span><span>num</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c543764125932-16"><span>    </span><span>urls</span><span> </span><span>=</span><span> </span><span>map</span><span>(</span><span>get_url</span><span>,</span><span> </span><span>range</span><span>(</span><span>100</span><span>,</span><span>100</span><span>+</span><span>num</span><span>)</span><span>)</span></div> <div id="crayon-585001a12c543764125932-17"><span>    </span><span>return</span><span> </span><span>urls</span></div> <div id="crayon-585001a12c543764125932-18"> </div> <div id="crayon-585001a12c543764125932-19"><span>def </span><span>get_data</span><span>(</span><span>url</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c543764125932-20"><span>  </span><span>dataList</span><span> </span><span>=</span><span> </span><span>{</span><span>}</span></div> <div id="crayon-585001a12c543764125932-21"><span>  </span><span>response</span><span> </span><span>=</span><span> </span><span>requests</span><span>.</span><span>get</span><span>(</span><span>url</span><span>)</span></div> <div id="crayon-585001a12c543764125932-22"><span>  </span><span>if</span><span> </span><span>response</span><span>.</span><span>status_code</span><span> </span><span>!=</span><span> </span><span>200</span><span>:</span></div> <div id="crayon-585001a12c543764125932-23"><span>      </span><span>return</span><span> </span><span>{</span><span>‘noValue’</span><span>:</span><span> </span><span>‘noValue’</span><span>}</span></div> <div id="crayon-585001a12c543764125932-24"><span>  </span><span>soup</span><span> </span><span>=</span><span> </span><span>bs4</span><span>.</span><span>BeautifulSoup</span><span>(</span><span>response</span><span>.</span><span>text</span><span>,</span><span>“html.parser”</span><span>)</span></div> <div id="crayon-585001a12c543764125932-25"><span>  </span><span>dataList</span><span>[</span><span>“index”</span><span>]</span><span> </span><span>=</span><span> </span><span>soup</span><span>.</span><span>title</span><span>.</span><span>string</span><span>[</span><span>4</span><span>:</span><span>7</span><span>]</span></div> <div id="crayon-585001a12c543764125932-26"><span>  </span><span>for</span><span> </span><span>meta </span><span>in</span><span> </span><span>soup</span><span>.</span><span>select</span><span>(</span><span>‘meta’</span><span>)</span><span>:</span></div> <div id="crayon-585001a12c543764125932-27"><span>    </span><span>if</span><span> </span><span>meta</span><span>.</span><span>get</span><span>(</span><span>‘name’</span><span>)</span><span> </span><span>==</span><span> </span><span>‘description’</span><span>:</span></div> <div id="crayon-585001a12c543764125932-28"><span>      </span><span>dataList</span><span>[</span><span>“content”</span><span>]</span><span> </span><span>=</span><span> </span><span>meta</span><span>.</span><span>get</span><span>(</span><span>‘content’</span><span>)</span></div> <div id="crayon-585001a12c543764125932-29"><span>  </span><span>dataList</span><span>[</span><span>“imgUrl”</span><span>]</span><span> </span><span>=</span><span> </span><span>soup</span><span>.</span><span>find_all</span><span>(</span><span>‘img’</span><span>)</span><span>[</span><span>1</span><span>]</span><span>[</span><span>‘src’</span><span>]</span></div> <div id="crayon-585001a12c543764125932-30"><span>  </span><span>return</span><span> </span><span>dataList</span></div> <div id="crayon-585001a12c543764125932-31"> </div> <div id="crayon-585001a12c543764125932-32"><span>if</span><span> </span><span>__name__</span><span>==</span><span>‘__main__’</span><span>:</span></div> <div id="crayon-585001a12c543764125932-33"><span>  </span><span>pool</span><span> </span><span>=</span><span> </span><span>Pool</span><span>(</span><span>4</span><span>)</span></div> <div id="crayon-585001a12c543764125932-34"><span>  </span><span>dataList</span><span> </span><span>=</span><span> </span><span>[</span><span>]</span></div> <div id="crayon-585001a12c543764125932-35"><span>  </span><span>urls</span><span> </span><span>=</span><span> </span><span>get_urls</span><span>(</span><span>10</span><span>)</span></div> <div id="crayon-585001a12c543764125932-36"><span>  </span><span>start</span><span> </span><span>=</span><span> </span><span>time</span><span>.</span><span>time</span><span>(</span><span>)</span></div> <div id="crayon-585001a12c543764125932-37"><span>  </span><span>dataList</span><span> </span><span>=</span><span> </span><span>pool</span><span>.</span><span>map</span><span>(</span><span>get_data</span><span>,</span><span> </span><span>urls</span><span>)</span></div> <div id="crayon-585001a12c543764125932-38"><span>  </span><span>end</span><span> </span><span>=</span><span> </span><span>time</span><span>.</span><span>time</span><span>(</span><span>)</span></div> <div id="crayon-585001a12c543764125932-39"><span>  </span><span>print</span><span> </span><span>‘use: %.2f s’</span><span> </span><span>%</span><span> </span><span>(</span><span>end</span><span> </span><span>–</span><span> </span><span>start</span><span>)</span></div> <div id="crayon-585001a12c543764125932-40"><span>  </span><span>jsonData</span><span> </span><span>=</span><span> </span><span>json</span><span>.</span><span>dumps</span><span>(</span><span>{</span><span>‘data’</span><span>:</span><span>dataList</span><span>}</span><span>)</span></div> <div id="crayon-585001a12c543764125932-41"><span>  </span><span>with </span><span>open</span><span>(</span><span>‘data.txt’</span><span>,</span><span> </span><span>‘w’</span><span>)</span><span> </span><span>as</span><span> </span><span>outfile</span><span>:</span></div> <div id="crayon-585001a12c543764125932-42"><span>    </span><span>json</span><span>.</span><span>dump</span><span>(</span><span>jsonData</span><span>,</span><span> </span><span>outfile</span><span>)</span></div> </div> </td> </tr> </table> </div></div> <p><!-- [Format Time: 0.0065 seconds] --></p> <p><div> <span data-post-id="84714"><i></i> <h10 id="84714votetotal">1</h10> 赞</span><br /> <span data-book-type="1" data-site-id="13" data-item-id="84714" data-item-type="1"><i></i> 12 收藏</span></p> <p> <a href="#article-comment"><span><i></i> 3 评论</span></a></p> <p> <!-- JiaThis Button BEGIN --></p> <div> <a></a><br /> <a></a><br /> <a></a><br /> <a></a><br /> <a href="http://www.jiathis.com/share?uid=1745061" target="_blank"></a> </div> </p></div> <p> <!-- BEGIN #author-bio --></p> <p><!-- END #author-bio --> </div> <p>转载自演道,想查看更及时的互联网产品技术热点文章请点击<a href="http://go2live.cn">http://go2live.cn</a></p> <!-- Start Tags --> <div class="tags"></div> <!-- End Tags --> </div><!-- End Content --> <!-- Start Related Posts --> <div class="related-posts"><div class="postauthor-top"><h3>Related Posts</h3></div> <article class="post excerpt "> <a href="https://www.go2live.cn/program/python/%e6%b7%b1%e5%85%a5%e7%90%86%e8%a7%a3python%e4%b8%ad%e7%9a%84%e7%94%9f%e6%88%90%e5%99%a8.html" title="深入理解Python中的生成器" id="featured-thumbnail"> <header> <h4 class="title front-view-title">深入理解Python中的生成器</h4> </header> </a> </article><!--.post.excerpt--> <article class="post excerpt "> <a href="https://www.go2live.cn/program/python/%e9%9c%80%e6%b1%82%e9%a9%b1%e5%8a%a8%e5%ad%a6%e4%b9%a0%e4%b9%8bpython%ef%bc%88%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99python%e8%84%9a%e6%9c%ac%e6%9b%bf%e6%8d%a2%e6%96%87%e4%bb%b6%e4%b8%ad%e7%9a%84.html" title="需求驱动学习之Python(如何编写Python脚本替换文件中的多行字符?)" id="featured-thumbnail"> <header> <h4 class="title front-view-title">需求驱动学习之Python(如何编写Python脚本替换文件中的多行字符?)</h4> </header> </a> </article><!--.post.excerpt--> <article class="post excerpt last"> <a href="https://www.go2live.cn/program/python/%e4%bd%bf%e7%94%a8python%e8%bf%9b%e8%a1%8cweb%e6%8a%93%e5%8f%96.html" title="使用python进行web抓取" id="featured-thumbnail"> <header> <h4 class="title front-view-title">使用python进行web抓取</h4> </header> </a> </article><!--.post.excerpt--> </div> <!-- End Related Posts --> <!-- Start Author Box --> <div class="postauthor"> <h4>About The Author</h4> <img alt='' src='https://secure.gravatar.com/avatar/e0306f51a41e22cf9a614f7d69aecbb3?s=85&d=monsterid&r=g' srcset='https://secure.gravatar.com/avatar/e0306f51a41e22cf9a614f7d69aecbb3?s=170&d=monsterid&r=g 2x' class='avatar avatar-85 photo' height='85' width='85' /> <h5>bjmayor</h5> <p>程序员,码农,php,python,ios,android,go,产品经理,创业。</p> </div> <!-- End Author Box --> <!-- You can start editing here. --> </div> </div> </article> <!-- End Article --> <!-- Start Sidebar --> <aside class="sidebar c-4-12"> <div id="sidebars" class="sidebar"> <div class="sidebar_list"> <div id="search-2" class="widget widget_search"><form method="get" id="searchform" class="search-form" action="https://www.go2live.cn" _lpchecked="1"> <fieldset> <input type="text" name="s" id="s" value="Search this site..." onblur="if (this.value == '') {this.value = 'Search this site...';}" onfocus="if (this.value == 'Search this site...') {this.value = '';}" > <input type="submit" value="Search" /> </fieldset> </form> </div><div id="linkcat-115" class="widget widget_links"><h3 class="widget-title"><span>友情链接</span></h3> <ul class='xoxo blogroll'> <li><a href="http://mooc.guokr.com/course/" target="_blank">mooc学院-综合学习</a></li> <li><a href="http://www.guanyuwu.com" rel="acquaintance sweetheart" target="_blank">创意手工分享</a></li> <li><a href="http://www.tuijiankan.com/" rel="friend" target="_blank">向阳博客</a></li> <li><a href="http://blog.devtang.com/" target="_blank">唐巧的技术博客-研发</a></li> <li><a href="http://www.liaoxuefeng.com/" target="_blank">廖雪峰官方网站-研发</a></li> <li><a href="http://weappdev.com/" target="_blank">微信小程序开发论坛</a></li> <li><a href="https://guanyuwu.taobao.com">直男送礼好去处</a></li> <li><a href="http://coolshell.cn/">酷壳-研发</a></li> <li><a href="http://www.ruanyifeng.com/blog/" target="_blank">阮一峰博客-研发-前端</a></li> <li><a href="http://www.laruence.com/" target="_blank">鸟哥博客-php专家</a></li> <li><a href="http://gongfuxiang.com/" target="_blank">龚福祥的博客-研发</a></li> </ul> </div> <div id="pages-10" class="widget widget_pages"><h3 class="widget-title"><span>页面</span></h3> <ul> <li class="page_item page-item-86"><a href="https://www.go2live.cn/it%e4%bc%81%e4%b8%9a">互联网it企业一览</a></li> <li class="page_item page-item-135484"><a href="https://www.go2live.cn/%e5%85%b3%e4%ba%8e">关于</a></li> <li class="page_item page-item-396503 page_item_has_children"><a href="https://www.go2live.cn/%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c">参考手册</a> <ul class='children'> <li class="page_item page-item-346526"><a href="https://www.go2live.cn/%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c/go%e6%8a%80%e6%9c%af%e9%80%89%e5%9e%8b">go技术选型</a></li> <li class="page_item page-item-346528 page_item_has_children"><a href="https://www.go2live.cn/%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c/go%e8%af%ad%e8%a8%80%e5%8f%82%e8%80%83">go语言参考</a> <ul class='children'> <li class="page_item page-item-392240"><a href="https://www.go2live.cn/%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c/go%e8%af%ad%e8%a8%80%e5%8f%82%e8%80%83/%e6%8e%a8%e8%8d%90%e4%b9%a6%e7%9b%ae">推荐书目</a></li> </ul> </li> <li class="page_item page-item-396501"><a href="https://www.go2live.cn/%e5%8f%82%e8%80%83%e6%89%8b%e5%86%8c/ssh%e4%bd%bf%e7%94%a8%e4%bb%8b%e7%bb%8d">ssh使用介绍</a></li> </ul> </li> <li class="page_item page-item-4972"><a href="https://www.go2live.cn/%e6%bc%94%e9%81%93%e5%85%ac%e4%bc%97%e5%8f%b7%e8%ae%a2%e9%98%85%e8%af%b4%e6%98%8e">演道公众号订阅说明</a></li> <li class="page_item page-item-72"><a href="https://www.go2live.cn/%e8%8b%b1%e6%96%87%e5%9c%b0%e5%9d%80%e5%86%99%e6%b3%95">英文地址写法</a></li> </ul> </div><div id="calendar-5" class="widget widget_calendar"><div id="calendar_wrap" class="calendar_wrap"><table id="wp-calendar"> <caption>2024年十月</caption> <thead> <tr> <th scope="col" title="星期一">M</th> <th scope="col" title="星期二">T</th> <th scope="col" title="星期三">W</th> <th scope="col" title="星期四">T</th> <th scope="col" title="星期五">F</th> <th scope="col" title="星期六">S</th> <th scope="col" title="星期日">S</th> </tr> </thead> <tfoot> <tr> <td colspan="3" id="prev"><a href="https://www.go2live.cn/2022/01">« Jan</a></td> <td class="pad"> </td> <td colspan="3" id="next" class="pad"> </td> </tr> </tfoot> <tbody> <tr> <td colspan="1" class="pad"> </td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td> </tr> <tr> <td>7</td><td>8</td><td>9</td><td>10</td><td id="today">11</td><td>12</td><td>13</td> </tr> <tr> <td>14</td><td>15</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td> </tr> <tr> <td>21</td><td>22</td><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td> </tr> <tr> <td>28</td><td>29</td><td>30</td><td>31</td> <td class="pad" colspan="3"> </td> </tr> </tbody> </table></div></div><div id="categories-3" class="widget widget_categories"><h3 class="widget-title"><span>分类目录</span></h3> <ul> <li class="cat-item cat-item-16"><a href="https://www.go2live.cn/category/program/android" title="android的四种启动模式,与五大布局,五种存储模式,四大组件::::::演道网Andriod专栏提供Andriod基础概念,具体代码演示,方便大家深入理解和运用Android。大部分代码可以直接使用。">Android</a> </li> <li class="cat-item cat-item-269"><a href="https://www.go2live.cn/category/program/go" title="go,golang,go编程语言,golang编程, go web, go 分布式, go 并发">go</a> </li> <li class="cat-item cat-item-4"><a href="https://www.go2live.cn/category/program/ios" title="iOS开发入门和提高::::::演道网IOS专栏提供一线IOS研发人员在工作学习过程中的经验总结。让大家少走弯路。">iOS</a> </li> <li class="cat-item cat-item-80"><a href="https://www.go2live.cn/category/program/java" title="java入门与提高::::::演道网java专栏提供一线java研发人员在学习工作中的经验,减少大家走的弯路,大量源码可以直接使用。">java</a> </li> <li class="cat-item cat-item-6"><a href="https://www.go2live.cn/category/basic/linux" >linux学习</a> </li> <li class="cat-item cat-item-79"><a href="https://www.go2live.cn/category/program/php" title="php入门与提高::::::演道网php专栏提供一线php研发人员在学习工作中的经验,减少大家走的弯路,大量源码可以直接使用。">php</a> </li> <li class="cat-item cat-item-81"><a href="https://www.go2live.cn/category/program/python" title="python入门与提高::::::演道网python专栏提供一线python研发人员在学习工作中的经验,减少大家走的弯路,大量源码可以直接使用。">python</a> </li> <li class="cat-item cat-item-82"><a href="https://www.go2live.cn/category/practice/shell" >shell</a> </li> <li class="cat-item cat-item-105"><a href="https://www.go2live.cn/category/prd/design" >UI设计</a> </li> <li class="cat-item cat-item-11"><a href="https://www.go2live.cn/category/dev/web" >web</a> </li> <li class="cat-item cat-item-22"><a href="https://www.go2live.cn/category/dev" title="w3cschool,HTML,CSS,PHP,DOM,JavaScript,jQuery,XML,AJAX,ASP.NET,W3C,MySQL,SQL,jquery mobile,bootstrap,Python,jquery easyui,jquery ui,angularjs::::演道网的w3cschool,HTML,CSS,PHP,DOM,JavaScript,jQuery,XML,AJAX,ASP.NET,W3C,MySQL,SQL,jquery mobile,bootstrap,Python,jquery easyui,jquery ui,angularjs等技术都在这里。">产品研发</a> </li> <li class="cat-item cat-item-73"><a href="https://www.go2live.cn/category/prd" title="互联网产品、设计、运营案例分析,方法论指导::::::演道网互联网产品设计专栏提供网上优秀的产品运营设计相关的知识和文章。">产品设计</a> </li> <li class="cat-item cat-item-104"><a href="https://www.go2live.cn/category/prd/product" >产品需求</a> </li> <li class="cat-item cat-item-23"><a href="https://www.go2live.cn/category/dev/%e5%85%b6%e5%ae%83" >其它</a> </li> <li class="cat-item cat-item-277"><a href="https://www.go2live.cn/category/reference" >参考手册</a> </li> <li class="cat-item cat-item-276"><a href="https://www.go2live.cn/category/%e5%bf%83%e7%81%b5%e5%b0%8f%e6%86%a9" title="心灵小憩">心灵小憩</a> </li> <li class="cat-item cat-item-84"><a href="https://www.go2live.cn/category/dev/db" title="数据库入门与提高::::::演道网数据库专栏提供一线数据库研发人员在学习工作中的经验,减少大家走的弯路,大量源码可以直接使用。">数据库</a> </li> <li class="cat-item cat-item-1"><a href="https://www.go2live.cn/category/nocate" >未分类</a> </li> <li class="cat-item cat-item-3"><a href="https://www.go2live.cn/category/life" >生活随感</a> </li> <li class="cat-item cat-item-266"><a href="https://www.go2live.cn/category/basic/algorithm" >算法</a> </li> <li class="cat-item cat-item-75"><a href="https://www.go2live.cn/category/grow" >观念更新</a> </li> <li class="cat-item cat-item-270"><a href="https://www.go2live.cn/category/practice/keng" >踩坑</a> </li> <li class="cat-item cat-item-83"><a href="https://www.go2live.cn/category/practice/devops" >运维</a> </li> <li class="cat-item cat-item-106"><a href="https://www.go2live.cn/category/prd/market" >运营推广</a> </li> </ul> </div><div id="tag_cloud-12" class="widget widget_tag_cloud"><h3 class="widget-title"><span>标签</span></h3><div class="tagcloud"><a href="https://www.go2live.cn/tag/android" class="tag-cloud-link tag-link-39 tag-link-position-1" style="font-size: 18.980392156863pt;" aria-label="Android (47 items)">Android</a> <a href="https://www.go2live.cn/tag/android%e5%bc%80%e5%8f%91%e6%8a%80%e6%9c%af%e5%91%a8%e6%8a%a5" class="tag-cloud-link tag-link-258 tag-link-position-2" style="font-size: 14.862745098039pt;" aria-label="Android开发技术周报 (16 items)">Android开发技术周报</a> <a href="https://www.go2live.cn/tag/angularjs" class="tag-cloud-link tag-link-119 tag-link-position-3" style="font-size: 12.300653594771pt;" aria-label="AngularJS (8 items)">AngularJS</a> <a href="https://www.go2live.cn/tag/django" class="tag-cloud-link tag-link-134 tag-link-position-4" style="font-size: 16.052287581699pt;" aria-label="django (22 items)">django</a> <a href="https://www.go2live.cn/tag/flask" class="tag-cloud-link tag-link-259 tag-link-position-5" style="font-size: 8pt;" aria-label="flask (2 items)">flask</a> <a href="https://www.go2live.cn/tag/http" class="tag-cloud-link tag-link-45 tag-link-position-6" style="font-size: 17.516339869281pt;" aria-label="http (32 items)">http</a> <a href="https://www.go2live.cn/tag/jquery" class="tag-cloud-link tag-link-121 tag-link-position-7" style="font-size: 10.013071895425pt;" aria-label="jQuery (4 items)">jQuery</a> <a href="https://www.go2live.cn/tag/nginx" class="tag-cloud-link tag-link-77 tag-link-position-8" style="font-size: 11.843137254902pt;" aria-label="nginx (7 items)">nginx</a> <a href="https://www.go2live.cn/tag/nodejs" class="tag-cloud-link tag-link-120 tag-link-position-9" style="font-size: 13.490196078431pt;" aria-label="NodeJS (11 items)">NodeJS</a> <a href="https://www.go2live.cn/tag/securecrt" class="tag-cloud-link tag-link-103 tag-link-position-10" style="font-size: 19.895424836601pt;" aria-label="securecrt (59 items)">securecrt</a> <a href="https://www.go2live.cn/tag/shell" class="tag-cloud-link tag-link-71 tag-link-position-11" style="font-size: 18.522875816993pt;" aria-label="shell (42 items)">shell</a> <a href="https://www.go2live.cn/tag/view" class="tag-cloud-link tag-link-29 tag-link-position-12" style="font-size: 12.758169934641pt;" aria-label="View (9 items)">View</a> <a href="https://www.go2live.cn/tag/vim" class="tag-cloud-link tag-link-61 tag-link-position-13" style="font-size: 18.248366013072pt;" aria-label="vim (39 items)">vim</a> <a href="https://www.go2live.cn/tag/wordpress%e4%bc%98%e5%8c%96" class="tag-cloud-link tag-link-109 tag-link-position-14" style="font-size: 10.745098039216pt;" aria-label="wordpress优化 (5 items)">wordpress优化</a> <a href="https://www.go2live.cn/tag/%e4%bb%a3%e7%a0%81%e7%a4%ba%e8%8c%83" class="tag-cloud-link tag-link-43 tag-link-position-15" style="font-size: 17.241830065359pt;" aria-label="代码示范 (30 items)">代码示范</a> <a href="https://www.go2live.cn/tag/%e5%89%8d%e7%ab%af%e5%bc%80%e5%8f%91" class="tag-cloud-link tag-link-118 tag-link-position-16" style="font-size: 15.503267973856pt;" aria-label="前端开发 (19 items)">前端开发</a> <a href="https://www.go2live.cn/tag/%e5%8e%9f%e5%88%9b" class="tag-cloud-link tag-link-12 tag-link-position-17" style="font-size: 21.542483660131pt;" aria-label="原创 (91 items)">原创</a> <a href="https://www.go2live.cn/tag/%e5%9f%ba%e7%a1%80%e6%a6%82%e5%bf%b5" class="tag-cloud-link tag-link-30 tag-link-position-18" style="font-size: 16.235294117647pt;" aria-label="基础概念 (23 items)">基础概念</a> <a href="https://www.go2live.cn/tag/%e5%a4%9a%e7%ba%bf%e7%a8%8b" class="tag-cloud-link tag-link-49 tag-link-position-19" style="font-size: 10.013071895425pt;" aria-label="多线程 (4 items)">多线程</a> <a href="https://www.go2live.cn/tag/%e5%ad%a6%e4%bc%9a%e6%8f%90%e9%97%ae" class="tag-cloud-link tag-link-129 tag-link-position-20" style="font-size: 15.137254901961pt;" aria-label="学会提问 (17 items)">学会提问</a> <a href="https://www.go2live.cn/tag/%e5%b7%a5%e5%85%b7" class="tag-cloud-link tag-link-28 tag-link-position-21" style="font-size: 9.0980392156863pt;" aria-label="工具 (3 items)">工具</a> <a href="https://www.go2live.cn/tag/%e5%b7%a5%e5%85%b7%e5%ad%a6%e4%b9%a0" class="tag-cloud-link tag-link-17 tag-link-position-22" style="font-size: 10.745098039216pt;" aria-label="工具学习 (5 items)">工具学习</a> <a href="https://www.go2live.cn/tag/%e5%b7%a5%e7%a8%8b%e5%b8%88%e6%97%a5%e5%b8%b8" class="tag-cloud-link tag-link-218 tag-link-position-23" style="font-size: 18.614379084967pt;" aria-label="工程师日常 (43 items)">工程师日常</a> <a href="https://www.go2live.cn/tag/%e5%bc%80%e5%8f%91%e8%80%85%e5%a4%b4%e6%9d%a1" class="tag-cloud-link tag-link-170 tag-link-position-24" style="font-size: 22pt;" aria-label="开发者头条 (102 items)">开发者头条</a> <a href="https://www.go2live.cn/tag/%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f" class="tag-cloud-link tag-link-116 tag-link-position-25" style="font-size: 14.588235294118pt;" aria-label="微信小程序 (15 items)">微信小程序</a> <a href="https://www.go2live.cn/tag/%e5%be%ae%e4%bf%a1%e5%ba%94%e7%94%a8%e5%8f%b7" class="tag-cloud-link tag-link-117 tag-link-position-26" style="font-size: 14.40522875817pt;" aria-label="微信应用号 (14 items)">微信应用号</a> <a href="https://www.go2live.cn/tag/%e5%bf%83%e6%99%ba" class="tag-cloud-link tag-link-35 tag-link-position-27" style="font-size: 12.758169934641pt;" aria-label="心智 (9 items)">心智</a> <a href="https://www.go2live.cn/tag/%e6%8a%80%e6%9c%af%e6%9e%b6%e6%9e%84" class="tag-cloud-link tag-link-127 tag-link-position-28" style="font-size: 16.967320261438pt;" aria-label="技术架构 (28 items)">技术架构</a> <a href="https://www.go2live.cn/tag/%e6%8e%a8%e8%8d%90" class="tag-cloud-link tag-link-32 tag-link-position-29" style="font-size: 8pt;" aria-label="推荐 (2 items)">推荐</a> <a href="https://www.go2live.cn/tag/%e6%95%88%e7%8e%87" class="tag-cloud-link tag-link-37 tag-link-position-30" style="font-size: 11.385620915033pt;" aria-label="效率 (6 items)">效率</a> <a href="https://www.go2live.cn/tag/%e6%a0%b8%e5%bf%83%e6%a6%82%e5%bf%b5" class="tag-cloud-link tag-link-34 tag-link-position-31" style="font-size: 10.013071895425pt;" aria-label="核心概念 (4 items)">核心概念</a> <a href="https://www.go2live.cn/tag/%e6%ba%90%e7%a0%81%e5%88%86%e6%9e%90" class="tag-cloud-link tag-link-33 tag-link-position-32" style="font-size: 10.745098039216pt;" aria-label="源码分析 (5 items)">源码分析</a> <a href="https://www.go2live.cn/tag/%e7%9f%a5%e8%af%86%e6%80%bb%e7%bb%93" class="tag-cloud-link tag-link-97 tag-link-position-33" style="font-size: 9.0980392156863pt;" aria-label="知识总结 (3 items)">知识总结</a> <a href="https://www.go2live.cn/tag/%e7%a0%81%e5%86%9c%e5%91%a8%e5%88%8a" class="tag-cloud-link tag-link-257 tag-link-position-34" style="font-size: 15.320261437908pt;" aria-label="码农周刊 (18 items)">码农周刊</a> <a href="https://www.go2live.cn/tag/%e7%a7%af%e7%b4%af" class="tag-cloud-link tag-link-25 tag-link-position-35" style="font-size: 10.745098039216pt;" aria-label="积累 (5 items)">积累</a> <a href="https://www.go2live.cn/tag/%e7%ae%97%e6%b3%95" class="tag-cloud-link tag-link-69 tag-link-position-36" style="font-size: 13.124183006536pt;" aria-label="算法 (10 items)">算法</a> <a href="https://www.go2live.cn/tag/%e7%ba%bf%e7%a8%8b" class="tag-cloud-link tag-link-51 tag-link-position-37" style="font-size: 16.692810457516pt;" aria-label="线程 (26 items)">线程</a> <a href="https://www.go2live.cn/tag/%e7%bf%bb%e8%af%91" class="tag-cloud-link tag-link-31 tag-link-position-38" style="font-size: 9.0980392156863pt;" aria-label="翻译 (3 items)">翻译</a> <a href="https://www.go2live.cn/tag/%e8%a7%82%e7%82%b9" class="tag-cloud-link tag-link-59 tag-link-position-39" style="font-size: 9.0980392156863pt;" aria-label="观点 (3 items)">观点</a> <a href="https://www.go2live.cn/tag/%e8%ae%a8%e8%ae%ba" class="tag-cloud-link tag-link-46 tag-link-position-40" style="font-size: 14.130718954248pt;" aria-label="讨论 (13 items)">讨论</a> <a href="https://www.go2live.cn/tag/%e8%af%bb%e4%b9%a6%e7%ac%94%e8%ae%b0" class="tag-cloud-link tag-link-36 tag-link-position-41" style="font-size: 12.300653594771pt;" aria-label="读书笔记 (8 items)">读书笔记</a> <a href="https://www.go2live.cn/tag/%e8%bd%ac%e8%bd%bd" class="tag-cloud-link tag-link-14 tag-link-position-42" style="font-size: 14.588235294118pt;" aria-label="转载 (15 items)">转载</a> <a href="https://www.go2live.cn/tag/%e8%bf%90%e7%bb%b4" class="tag-cloud-link tag-link-18 tag-link-position-43" style="font-size: 11.843137254902pt;" aria-label="运维 (7 items)">运维</a> <a href="https://www.go2live.cn/tag/%e9%9d%a2%e8%af%95" class="tag-cloud-link tag-link-38 tag-link-position-44" style="font-size: 18.980392156863pt;" aria-label="面试 (47 items)">面试</a> <a href="https://www.go2live.cn/tag/%e9%b8%a1%e6%b1%a4%e6%96%87" class="tag-cloud-link tag-link-94 tag-link-position-45" style="font-size: 10.013071895425pt;" aria-label="鸡汤文 (4 items)">鸡汤文</a></div> </div><div id="recent-comments-4" class="widget widget_recent_comments"><h3 class="widget-title"><span>近期评论</span></h3><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='https://personalloans2.com/' rel='external nofollow' class='url'>Spotloan</a></span>发表在《<a href="https://www.go2live.cn/basic/linux/linux-useradd%e5%91%bd%e4%bb%a4%e6%b7%bb%e5%8a%a0%e6%96%b0%e7%94%a8%e6%88%b7%e5%9b%be%e6%96%87%e8%af%a6%e8%a7%a3-%e6%bc%94%e9%81%93%e7%bd%91.html/comment-page-7#comment-100220">Linux useradd命令添加新用户图文详解-演道网</a>》</li><li class="recentcomments"><span class="comment-author-link"><a href='https://paydayloans3.com/' rel='external nofollow' class='url'>Speedycash</a></span>发表在《<a href="https://www.go2live.cn/basic/linux/linux-useradd%e5%91%bd%e4%bb%a4%e6%b7%bb%e5%8a%a0%e6%96%b0%e7%94%a8%e6%88%b7%e5%9b%be%e6%96%87%e8%af%a6%e8%a7%a3-%e6%bc%94%e9%81%93%e7%bd%91.html/comment-page-7#comment-100219">Linux useradd命令添加新用户图文详解-演道网</a>》</li><li class="recentcomments"><span class="comment-author-link"><a href='http://viagra200.com/' rel='external nofollow' class='url'>JudyDak</a></span>发表在《<a href="https://www.go2live.cn/basic/linux/linux-useradd%e5%91%bd%e4%bb%a4%e6%b7%bb%e5%8a%a0%e6%96%b0%e7%94%a8%e6%88%b7%e5%9b%be%e6%96%87%e8%af%a6%e8%a7%a3-%e6%bc%94%e9%81%93%e7%bd%91.html/comment-page-7#comment-100218">Linux useradd命令添加新用户图文详解-演道网</a>》</li><li class="recentcomments"><span class="comment-author-link"><a href='https://nolvadex10.com/' rel='external nofollow' class='url'>SamDak</a></span>发表在《<a href="https://www.go2live.cn/basic/linux/linux-useradd%e5%91%bd%e4%bb%a4%e6%b7%bb%e5%8a%a0%e6%96%b0%e7%94%a8%e6%88%b7%e5%9b%be%e6%96%87%e8%af%a6%e8%a7%a3-%e6%bc%94%e9%81%93%e7%bd%91.html/comment-page-7#comment-100217">Linux useradd命令添加新用户图文详解-演道网</a>》</li><li class="recentcomments"><span class="comment-author-link"><a href='http://hydrochlorothiazide125.com/' rel='external nofollow' class='url'>AlanDak</a></span>发表在《<a href="https://www.go2live.cn/basic/linux/linux-useradd%e5%91%bd%e4%bb%a4%e6%b7%bb%e5%8a%a0%e6%96%b0%e7%94%a8%e6%88%b7%e5%9b%be%e6%96%87%e8%af%a6%e8%a7%a3-%e6%bc%94%e9%81%93%e7%bd%91.html/comment-page-7#comment-100216">Linux useradd命令添加新用户图文详解-演道网</a>》</li></ul></div> </div> </div><!--sidebars--> </aside> <!-- End Sidebar --> </div> </div> <footer id="site-footer" role="contentinfo"> <!--start copyrights--> <div class="copyrights"> <div class="container"> <div class="row" id="copyright-note"> <span> © 2024 演道网 <span class="footer-info-right"> <a href="https://beian.miit.gov.cn/" target="_blank"> 京ICP备16029834号-1 </a> </span> <div class="top"> <a href="#top" class="toplink">Back to Top ↑</a> </div> </div> </div> </div> <!--end copyrights--> </footer><!-- #site-footer --> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Emojify.js/js/emojify.min.js?ver=9.9.9'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/ClipBoard/clipboard.min.js?ver=2.0.1'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/components/prism-core.min.js?ver=1.15.0'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/plugins/autoloader/prism-autoloader.min.js?ver=1.15.0'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/plugins/toolbar/prism-toolbar.min.js?ver=1.15.0'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/plugins/show-language/prism-show-language.min.js?ver=1.15.0'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js?ver=1.15.0'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Turndown/turndown.js?ver=5.0.1'></script> <script type='text/javascript' src='https://www.go2live.cn/wp-content/themes/feather-magazine/js/customscripts.js?ver=4.9.8'></script> <script type='text/javascript' src='https://www.go2live.cn/wp-includes/js/wp-embed.min.js?ver=4.9.8'></script> <script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=default&ver=1.3.10'></script> <script type="text/javascript"> window.onload = function () { emojify.setConfig({ img_dir: "https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Emojify.js/images/basic",//前端emoji资源地址 blacklist: { 'ids': [], 'classes': ['no-emojify'], 'elements': ['^script$', '^textarea$', '^pre$', '^code$'] } }); emojify.run(); } </script> <script type="text/javascript"> Prism.plugins.autoloader.languages_path = "https://cdn.jsdelivr.net/wp/wp-editormd/tags/9.9.9/assets/Prism.js/components/"; </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?7c0353d5197094ff9721e67666d9b6b4"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </body> </html>