Git Product home page Git Product logo

cnpeoplespider's Introduction

cnpeopleSpider

get data from http://www.people.com.cn/

根据关键词列表爬取文章内容及图片;

按网页结构目录化编码存储;

支持多线程,不定期更新;

2019.9.6更新日志:

1、去除队列锁,去除自动编码检测(默认指定GB2312,可手动修改),大幅度提升多线程的速度;

2、优化了多线程文件读写;

3、默认线程组合设置为4+20+10+8

2019.9.4更新日志:

1、通信队列的大小限制;

2019.12.28更新日志:

1、人民网的反爬防护升级,所以实装了随机切换浏览器头。

2、修正数据文件标题栏缺失的问题。

cnpeoplespider's People

Contributors

whoami8421 avatar

Stargazers

Alioth avatar LonelyMoon avatar  avatar cwstd avatar LITONG avatar Watermelon avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

wang718204

cnpeoplespider's Issues

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.