2016年11月28日

摘要: from lxml import etreeimport requestsdef getHtml(html): novelcontent = requests.get(html).content return etree.HTML(novelcontent)source = getHtml("htt 阅读全文
posted @ 2016-11-28 19:39 chinxfin 阅读(254) 评论(0) 推荐(0)
摘要: #-*-coding:utf-8-*-from lxml import etreeimport requestsfrom urllib import urlretrieveimport osdef getHtml(html): novelcontent = requests.get(html).co 阅读全文
posted @ 2016-11-28 19:38 chinxfin 阅读(337) 评论(0) 推荐(0)

导航