Giter Club home page Giter Club logo

pixivspider's Introduction

PixivSpider

一个P站爬虫,练手作,比我好用的爬虫多了去了

依赖项:

bs4/requests/lxml

当然,您还要安装python和pip
用以下指令来安装依赖项:

$ pip install bs4  
$ pip install requests  
$ pip install lxml  

关于config配置:

运行一次__init__之后,会生成一个config文件
用记事本打开并修改里面的配置
目前为止,proxy代理服务是必须要有的,其中的host项代表主机地址,port项代表端口
另外,cookie项可以选填,不填的话就是游客登陆,目前没有做爬关注画师的功能,所以应该影响不大
account项完全不用填,因为绕不过google验证,这个功能暂时放着


大概就是这些了吧


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.