# spider-top250 **Repository Path**: scsbcthh/spider-top250 ## Basic Information - **Project Name**: spider-top250 - **Description**: 使用python 爬取豆瓣 top250 保存到 excel - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-10 - **Last Updated**: 2025-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目介绍 本项目是一个基于Python的网络爬虫,用于爬取豆瓣Top250的电影信息,并将其保存到Excel文件中。 # 项目依赖 - Python 3.x - requests - BeautifulSoup4 - openpyxl # 安装依赖 ```bash pip install requests beautifulsoup4 openpyxl ``` # 运行项目 ```bash python top250.py ``` # 项目结构 - `top250.py`:主程序,用于爬取电影信息并保存到Excel文件中。 - `README.md`:项目说明文档。 - `top250.xlsx`:保存爬取到的电影信息的Excel文件。 # 注意事项 - Excel 的 IMAGE 函数需要 Excel 365 或 Excel 2021 及以上版本支持,如果使用较早版本的 Excel,可能无法正常显示图片。