Git Product home page Git Product logo

scrapy-xmlyspider's Introduction

scrapy-xmlyspider

使用两种方式爬取喜马拉雅网,第一种方式是使用找特征拼接url的方式实现二级页面的翻页,第二种方式是使用rules,创建多个Rule来实现翻页;

爬取喜马拉雅文学类书籍音频

第一种方式:

​ 在第一种方式中,使用了scrapy框架,简单的使用了rules使用一个规则实现了一级页面的翻页;对于每本书籍对应的二级子页面的翻页是通过查找个书籍所对应的url查找书籍url的特征实现的.

第二种方式:

​ 第二种方式中,使用了scrapy框架,利用多个Rule来实现翻页

当然实现翻页还可查找其他特征来实现,在这里举不一一列举了.

scrapy-xmlyspider's People

Contributors

1343746851 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.