Skip to content

拉勾网的爬虫;可以根据关键词进行爬取职位和企业信息;有增量的解决方案

Notifications You must be signed in to change notification settings

sunhailin-Leo/LaGou_Scrapy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

拉勾网爬虫(Scrapy版)


非Scrapy版本的在这 ---> here

  • 使用中有问题的可以提个issue让我改进改进

环境和安装方式

  • 开发环境: Win10 x64

  • Python版本: Python3.4.4

  • Python依赖:

    • Scrapy
    • requests
    • pymongo
    • twisted
    • PyDispatcher
  • 安装方式:

pip install -r requirements.txt

使用帮助及启动方法

  • 启动的时候会有个Warning(可以忽略): ScrapyDeprecationWarning: Module scrapy.conf is deprecated, use crawler.settings attribute instead
# scrapy crawl LaGou -a search_name=大数据 --- 已经不用这种方法了

# 根目录下:
python start_spider.py -name 大数据

已知的Bug

  • 长时间爬取会进入假死状态 (已解决)

未来进度

  • 修改启动方式
  • (优先) 增量的方法待完善
  • (优先) 定时任务
  • 进度监控
  • 接入到Gerapy

补充

About

拉勾网的爬虫;可以根据关键词进行爬取职位和企业信息;有增量的解决方案

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages