Git Product home page Git Product logo

taobao's Introduction

####1、数据库配置 mysql.txt是数据库配置文件,共设置8个字段。goods_id:商品id号 ;shop_id:店铺id号 ;shop_loc:店铺地址 ;shop_name:店铺名称 ;goods_title:商品名称 ;view_sales:商品销量 ;view_price:商品价格 ;comment_url:店铺链接。 商品id号唯一,设为主键; ####2、抓取规则 程序从连衣裙类型页面作为爬取首页,根据抓取的店铺id号和商品id号进入二级页面抓取信息,根据从二级页面提取到的店铺id号和商品id号进行下一级抓取; ####3、程序调用 api.py为接口,程序从_init_.py运行; ####4、抓取示例

taobao's People

Contributors

hunterchao avatar

Watchers

 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.