摘要: 1. # -*- coding:UTF-8 -*- from bs4 import BeautifulSoup #BeautifulSoup就是处理字符串的工具 import requests, sys """ 类说明:下载《笔趣看》网小说《一念永恒》 Parameters: 无 Returns: 阅读全文
posted @ 2018-03-08 16:29 坚强的小蚂蚁 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: # xpath语法可参考http://www.w3school.com.cn/xpath/xpath_syntax.asp# 本博客引用于https://zhuanlan.zhihu.com/something-python?topic=Python # coding:utf-8 import requests from lxml import html import os import ti... 阅读全文
posted @ 2018-03-08 16:28 坚强的小蚂蚁 阅读(349) 评论(0) 推荐(0) 编辑