47

用bs4和urllib 爬取视频-厉害了我的国

 6 years ago
source link: http://blog.51cto.com/5353088/2105330
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
实验对象:麦子学院 一、网站分析: 1、大部分视频信息都存在http://www.maiziedu.com/course/all/中,所有的视频信息都有自己的ID,第一次查询地址应该是在:'http://www.maiziedu.com/course/' + id中,   分析页面获取title ,为创建文件夹获取目录 url_dict1 = {} url = 'http://

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK