Git Product home page Git Product logo

jp-av-crawler's Introduction

QUICK NOTE

USAGE

  • 安装依赖 pip install -r requirments.txt
  • 安装mongodb, 并且启动nohup mongod&
  • scrapy crawl jv_most_wanted_item (添加了download_delayer为1.2s左右,可以适当更改)

爬取的数据

  • actor - 演员 type: list
  • title - 片名 type: string
  • category - 类型 type: list
  • slug - 编号识别码 type: string
  • downloadurl - magnet 下载地址 type: string magnet link
  • preview - 封面 type: string image src

制定爬虫

  • 到spiders目录中copy一份,然后修改
  • SgmlLinkExtractor - 来提取要process的link(如果详情页)
  • process handler - 具体的提取数据的handler(tips: scrapy shell ), 用hsx来xpath或正则去匹配要的数据

jp-av-crawler's People

Stargazers

Qian Gu avatar Horace Choi avatar  avatar  avatar  avatar  avatar PeliHa avatar syaofox avatar  avatar  avatar  avatar 1024 avatar  avatar Snow Helsing avatar

Watchers

siva avatar James Cloos avatar  avatar

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.