基础页面:https://movie.douban.com/top250 代码: from time import sleep from requests import get from bs4 import BeautifulSoup import re import pymysql db = pymysql.connect(host='localhost', user='root', password='123456', db='douban', charset='utf8mb4', cur…