From 48a23d05b181c19be4b974bafc55ce548919b7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=AB=E5=A2=9E?= <2509165014@student.example.com> Date: Thu, 2 Apr 2026 16:05:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mz.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 mz.py diff --git a/mz.py b/mz.py new file mode 100644 index 0000000..ac719b9 --- /dev/null +++ b/mz.py @@ -0,0 +1,42 @@ +import requests +import re +import os +from time import sleep + +base_url = 'https://movie.douban.com/top250?start={}&filter=' +headers = { + 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' +} + +p = re.compile( + r'