Giter Site home page Giter Site logo

pinduoduo_spiders's Introduction

拼多多爬虫

screenshots

  • 已爬取的商品信息条数(70w+):

  • 商品信息示例:


description:

version2:

  • base on framework scrapy
  • 爬取拼多多所有的商品信息

Requirements

  • python2
  • 多代理
  • scrapy

Usage:

  1. proxy.py里填入自己的代理ip的api地址
  2. mongo_db.py配置一下本地MongoDB数据库的信息
  3. 根据自己的代理、网络带宽、主机性能等情况修改settings.py中的并发请求数CONCURRENT_REQUESTS

Version2 usage:

  1. 进入到 pdd_spider_v2目录下
  2. 先爬取所有二级、三级分类信息 scrapy crawl category_infos
  3. 爬取所有商品分类信息 scrapy crawl goods

To-do-list:

  • 爬取分类信息(一级-二级)
  • MongoDB入库
    • 入分类信息
  • 爬取某一级分类下的所有商品信息
    • 入库-入商品信息
    • 入库-入offset_num信息
  • 修改成scrapy框架
    • 优化代码
    • 减少页面的爬取

log:

  • 2018.8.4 18:16:
  • goods num : 4312
  • 2018.8.10 18:16:
  • goods num : 20414
  • 2018.8.31 18:16:
  • goods num : 70w+

contact:

you can send email to me : NTI5ODgzNDA5QHFxLmNvbQ==

pinduoduo_spiders's People

Contributors

jerrychan807 avatar

Watchers

James Cloos 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.