Git Product home page Git Product logo

renrencawler's Introduction

renrenCawler

A cawler based on ghost.py which is used for extract blog in renren web site( the Chinese facebook)

INSTALL

  1. Install the ghost package firs, pip install ghost.py --pre (More details you can see the web site:https://github.com/jeanphix/Ghost.py)
  2. The files ghost.py and logger.py are two files modified based on ghost-01b6 version, they should be copied to the path /$PYTHON_PATH/Lib/site-packages/Ghost.py-0.1b6-py3.4.egg/ghost

HOW TO USE

The file ghost_renren.py is the main program for the cawler. Here are the steps how to use it

  1. After run python ghost_renren.py, the program will ask you about the username and password

  2. After type them, there may be the asking about typing the check code if it needed, you can see a web window poped for you to check it.

  3. If anything is going well, you can see the log in stdout such as '[x]Getting the blog xxxxxx'

  4. After all the blogs have been done, there will be a file called renren_blog.html generated in your path

  5. And then the program continues getting images of your account, after it's completed, you can see all the images in the dir 'renren_img'

renrencawler's People

Contributors

cuibuaa avatar

Stargazers

xorr0@riseup.net avatar

Watchers

 avatar

Forkers

hackerzpf

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.