Giter Club home page Giter Club logo

pixivhack's Introduction

#Pixiv Hack

PyPI version Code Health python license

##Introduction
Pixiv Hack is a tool to automatically crawl illustrations filtered by ratings on www.pixiv.net .

##Installation

$ sudo pip install pixivhack

##Usage

  1. Browse www.pixiv.net and sign in with your account. Copy the value of cookies:PHPSESSID using the browser debugger (F12)
  2. You can now close the browser and start Pixiv Hack by running:
    $ pixivhack
    
  3. Follow the prompt and enter the PHPSESSID you just copied, the keyword to search with, the minimum ratings of illustrations to filter with, the maximum number of illustrations to download and whether to download manga.
  4. Sit back and relax! The script will do the rest.
  5. After all work is done, you can check out author_info.json to view the ratings and the illustration IDs of each Pixiv author that is crawled.
  6. All downloadable illustrations are saved in the pixivimages directory.

##Crawl Illustrations by author IDs

  1. Create a .json file containing a list of Pixiv member IDs of authors. Sample:
    authors.json
    ["2463004", "19351", "2157729"]
    
    You can also use author_info.json which is automatically generated by this script using keyword-search mode described above.
  2. Simply run
    $ pixivhack -a <JSON_file>
    
  3. Follow the prompt and enter PHPSESSID and other required parameters.
  4. Illustraions are saved in the image directory sorted by author IDs.

##Dependencies

  • requests

Install using:

$ sudo pip install requests

##License See the LICENSE.md file for license rights and limitations (MIT).

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.