Time:2020-06-12
程序实现功能:实现从起点中文网爬取小说内容;
(说明:只做学习交流)
import requests, chardet
from lxml import html
from bs4 import BeautifulSoup
from urllib.parse import urlencode
import json
import jsonpath
import urllib.request
headers = {'User-Agent':"Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple