Git Product home page Git Product logo

jitaba-crawler's Introduction

吉他谱网站逻辑

let score = {
      title: '',
      name: '',
      keys: '',
      singer: '',
      poster: '',
      tags: '',
      rating: '',
      views: '',
      spectrum: '',
      description: ''
}
  • 首先爬取列表页的url
  • 进入详情页,爬取 title 根据标题得到 name singer keys
  • 根据 $('#tabzone') 里面有无文字来判断是否用简介得到 description , 若没有则爬取豆瓣的简介
  • 将所有$('#tabzone')里面的所有 img 元素 作为 spectrum曲谱,把第一张作为 **poster ** 海报地址,再爬取豆瓣页的海报,若有则替换
  • 豆瓣页稳定爬取 rating views tags

jitaba-crawler's People

Contributors

xidieccc avatar

Watchers

 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.