摘要:
#!python3.7 import requests,sys,time,logging,random from lxml import etree logging.basicConfig(level=logging.ERROR, format=' %(asctime)s - %(levelname)s: %(message)s') #DEBUG ERROR format显示格式可按自己喜好调整... 阅读全文
摘要:
调试过程将显示: 2019-03-15 14:17:01,538 - DEBUG: 程序现在开始! 2019-03-15 14:17:01,548 - DEBUG: 开始执行:factorial(5) 2019-03-15 14:17:01,551 - DEBUG: 此处【i】值是:0,【total 阅读全文
摘要:
#python3.7 ''' 功能:实现www.biqukan.com/1_1094/5403177.html小说下载为txtv1.0 ''' import requests,sys,time from lxml import etree ##0.获取所有章节url def get_url_list(catalog_url): res=requests.get(catalog_url) ... 阅读全文