# spider **Repository Path**: lingyuanming/spider ## Basic Information - **Project Name**: spider - **Description**: 爬虫学习。包括requests库、beautifulsoup库的使用。 - **Primary Language**: Python - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-02-20 - **Last Updated**: 2025-03-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spider #### 介绍 spier爬虫学习日志 主要包含requests库、beautifulsoup库的使用。 目前有两个小demo,一个是获取211大学,另一个是获取天气。 #### 安装 1. 安装python3。[官网](http://www.python.org) 2. 进入该文件夹。`cd spider/` 3. 安装依赖库。`pip install -r requirements.txt` 推荐尝试使用pipenv,可以管理多个python环境,尤其是各个环境依赖库版本冲突时。 #### 运行 `python Demos/xx/xx.py` #### examples - 211大学实例: ![1692554891845](Demos/211schools/1692554891845.png) - 北京天气(以北京为例) ![1692555108627](Demos/Weather/1692555108627.png)