From 4172940d05169ab0dd1813c975f3c2012c215704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B0=A4=E4=BC=98?= <2509165039@student.example.com> Date: Tue, 31 Mar 2026 11:27:51 +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 --- 260331-2509165039.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 260331-2509165039.py diff --git a/260331-2509165039.py b/260331-2509165039.py new file mode 100644 index 0000000..9ecfd3f --- /dev/null +++ b/260331-2509165039.py @@ -0,0 +1,11 @@ +import requests +from bs4 import BeautifulSoup +import json +import csv + +headers = {'User-Agent':'Mozilla/5.0(Windows NT 10.0;Win64; x64) AppleWebKit/537.36(KHTML,like Gecko) Chrome/91.0.4472.124 Safari/537.36'} + +movies = [] + +for start in range(0,250,25): + url = f'https://movie.douban.com/top250?start=0&filter=' \ No newline at end of file