Skip to content

从百度百科爬取中国所有大学校徽

Notifications You must be signed in to change notification settings

jzwei023/BadgeSpider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

中国所有大学校徽爬虫

通过 python 从百度词条获取中国所有大学校徽,为项目SchoolRush服务

百度词条上大学匹配的URL基本格式为 https://baike.baidu.com/item/北京大学

实现功能

1、可以抓取中国所有大学校徽 2、将可爬取的校徽储存在 文件夹 Badges 中,图片命名为 该校徽对应的大学名 3、采用User Agent伪装为浏览器进行爬取,避免爬虫被封 4、并非所有大学的百度百科 URl 都如基本格式相同,所以将未能访问的URL写入unfinishedURl.txt中,由于数量不大,所以就直接手动从百度百科获取badge了

QAQ-----肝的不行,中途几次断网,可恶-----QAQ

##本爬虫主要为最近团队开发的 SchoolRush 服务

About

从百度百科爬取中国所有大学校徽

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%