Giter Site home page Giter Site logo

capturer's Introduction

What's Capturer

A capture tool used to capture pictures from web like Sina, LOFTER and huaban.

Support Websites

How to use

  • install python3 and libs
  • update your Parameters of each kind of web
  • run ./capturer or run main.py or ***_spider.py to capture images from
    • sina
    • lofter
    • toutiao
    • qqzone
  • run huaban/run.py to capture images from huaban
  • run vmgirls/run.py to capture images from vmgirls

Notices

Almost all of the file path based on ~/Pictures/python, ~ means home dir.

Parameters

huaban

  • USERNAME: username of huaban which you want to capture
  • ROOT_DIR: directories where to store the images

Sina

  • uid: user-id(10 numbers) of sina weibo that you want to capture
  • cookies: your cookies after login the sina weibo
  • path: directory to save the pictures

Lofter

  • username: username of lofter that you want to capture
  • path: directory to save the pictures, see the function _get_path in lofter_spider.py
  • query_number: number of blogs in each query packet, default value is 40

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.