Giter Club home page Giter Club logo

py-spider's Introduction

程序执行方式
python main.py -h
python main.py -u www.sohu.com -d 2 

执行平台
Mac python2.7.2
Linux python 2.6

执行情况(两个情景不同网络情况)
mac thread num 20  8 links/s 内存 1.5G      sumo.com 2级 深度 171s
    thread num 10  5-7 links/s 内存 1.6G   www.baidu.com 3级深度共耗时443.149364948 秒
程序依赖包
beautifulsoup4
requests
pysqlite==2.6.3

待解决问题
1)性能问题,占用内存过多,有些数据不应该存储在内存中
2)某些网络环境下,不能并发执行抓取任务--具体问题待查
3) 数据库文件较大

py-spider's People

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.