蜘蛛页面 from selenium import webdriver import time import random from bs4 import * import pymysql h, pt, u, p, db = , 'root', 'root', 'test' def mysql_fetch(sql, res_type='tuple'): global h, pt, u, p, db try: conn = pymysql.connect(host=h, port=pt, user…