Giter VIP home page Giter VIP logo

webspider's Introduction

This is a simple Python webspider, could collect and store all watched movies of a specified douban.com user into a csv file. The input should be the link of douban movie first page of a user.

这是一个简单的Python网络爬虫,可以采集指定豆瓣用户所有看过的电影并处存进一个csv文件。爬虫的输入是豆瓣用户电影首页地址。

Test input: $ Make test

In order to avoid IP banning, it takes about 40 minutes to finish the test.

测试输入: $ Make test

为了防止IP封禁,完成测试大概需要40分钟。

Totally Python code, used library: urllib2, bs4, time, re, csv, sys.

Python代码,涉及库:urllib2,bs4,time,re,csv,sys。

Code was wrotten in March/2015, Dublin Ireland.

代码于2015年3月,爱尔兰都柏林。

webspider's People

Contributors

luo4neck avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

earther01

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.