python爬虫爬取并入库
python爬虫爬取小说并入库安装数据库驱动pip install pymysql数据库连接池pip install DBUtils建表CREATE TABLE novel id int11NOT NULL AUTO INCREMENT COMMENT自增主键title varchar100NOT NULL COMMENT标题content text NOT NULL COMMENT内容PRIMARY KEY id ENGINE InnoDB AUTO INCREMENT2353DEFAULT CHARSET utf8脚本写入数据库def write db chapter content sql INSERT INTO novel title content VALUES title s content s param title chapter content cont
用户评论