测试题4:静态网页爬虫入门 任务目标:从巨潮网上抓取所有上市公司名称及对应股票代码,并储存入csv文件中。 任务要求:使用静态网页爬虫技术;可以使用第三方库。 任务提示: 目标网页:http://www.cninfo.com.cn/cninfo-new/information/companylist 参考资料: 静态爬虫入门:http://xlzd.me/2015/12/16/python-crawler-03 requests官方文档:http://docs.python-requests.org/en/master/ bs4 官方文档:https://www.crummy.com/software/BeautifulSoup/bs4/doc/