分析
爬取地址:https://www.58pic.com/piccate/10-0-0-p1.html
可以看出p1、p2代表页数
详情页在class="thumb-box"元素里
具体图片在class="show-area-pic"里
数据库创建
import pymysql
db = pymysql.connect('localhost','root','','_pro')
cursor = db.cursor()
cursor.execute('drop table if exists pageTable')
cursor.execute('''CREATE TABLE `pageTable` (
`num` int NOT NULL AUTO_INCREMENT ,
`title` varchar(255) NOT NULL ,
`md5&#