# PythonSpider **Repository Path**: UIControl_admin/PythonSpider ## Basic Information - **Project Name**: PythonSpider - **Description**: 利用Python爬取麦子学院官网的视频 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2016-09-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #PythonSpider --------------------------------------------- 目录结构 index.html 麦子学院php主页源码 main.py 主要执行文件 ProgrameObj 模型类,保存对应阶段对应的视频地址 --------------------------------------------- 使用技术 BeautifulSoup threading urllib2 --------------------------------------------- 使用方法 直接运行执行main.py文件,会在目录下自动创建文件夹,然后显示爬取到的视频地址,用迅雷下载即可. 项目用也用多线程的形式实现了下载视频的功能,如果一个一个下问题不大,如果开启多线程同时下,会出现time out错误 如果想爬取麦子学院其他视频,只需要更改index.html中的内容即可.