Giter Site home page Giter Site logo

scrapy_cn's Introduction

Scrapy tutorial project

seed:<http://book.douban.com/tag/Programming>

Glance

  • finished 1. 使用docker创建runtime容器 2. demo
  • 现有爬虫 onepage multipage
  • tudos 脚本bootstrap 多个爬虫任务的runtime js处理 celery的爬虫调度控制

Install:

git clone https://github.com/addwork/scrapy_cn.git、
pip install -r requirements.txt

Usage:

$cd demo/scrapy_cn
$scrapy list
$scrapy crawl onepage

Build with docker:

$sudo docker build -t addbook/scrapy-docker .
$sudo docker -t -i addbook/scrapy-doccker
$root@xxxxxx:scrapy

https://github.com/addwork/scrapy_cn/blob/master/doc/images/scrapy_docker.jpg?raw=true

项目介绍

项目结构:

scrapy_cn/
    -doc/       ...关于工具插件的使用指南
    -tools/     ...开发中scrapy有用的插件,使用参考doc
    -demo/      ...简单的中文网站抓取爬虫实现
    -crawl/     ...较大规模的爬虫设计以及配置
    -linkbase/  ...Linkbase基础爬虫实现
    -schedule/  ...可调度爬虫的简单实现
    -distrib/   ...分布式负载

Contact:

TODOS:

  • 开放部分scrapy用到的组件
  • 设计一个大规模爬虫的范例,以示大规模爬虫设计的要点,以及解决常见问题手段
  • 开放Linkbase抓取的爬虫
  • 开放可管理调度任务的爬虫
  • 大规模任务负载的分布式处理实现

Lisence

BSD Lisence

scrapy_cn's People

Contributors

addbook avatar krsicptaocp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.