jumper2014 / eastmoney-spider

从东方财富网抓取股票代码和股票名称的爬虫,新版访问https://github.com/jumper2014/Spiders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

**股市股票代码名称爬虫

  • 数据来自东方财富网 www.eastmoney.com
  • 保存结果到csv文件
  • 打印结果到终端,结果按照股票代码正序排列,如下:
海创B股->900955
东贝B股->900956
凌云B股->900957
Total stock num: 4655
Time: 1.18163108826

依赖

  • BeautifulSoup第三方库

运行

  • python main.py

性能

  • 2秒内完成数据的抓取和存储

About

从东方财富网抓取股票代码和股票名称的爬虫,新版访问https://github.com/jumper2014/Spiders

License:Apache License 2.0


Languages

Language:Python 100.0%