项目作者: Udit1999

项目描述 :
📷 web scrapping in python using Scrapy
高级语言: Python
项目地址: git://github.com/Udit1999/Scrapy-Alibaba-Ecommerce.git
创建时间: 2019-07-03T11:13:28Z
项目社区:https://github.com/Udit1999/Scrapy-Alibaba-Ecommerce

开源协议:

下载


Scrapy-Alibaba-Ecommerce

A scrapy spider to extract the number of products in each category from alibaba.com.

For Example:

Screenshot

Prerequisites

  • Scrapy

Installation

  1. Clone the repo
    1. git clone https:://github.com/udit1999/Web_Scrap_e-commerce.git
  2. Install Python packages

    1. pip install -r requirements.txt
  3. To install Scrapy using conda, run:

    1. conda install -c conda-forge scrapy

    Note: Scrapy is pre-installed with conda. If it is not, then only do this step.

  4. Alternatively, if you’re already familiar with installation of Python packages, you can install Scrapy and its dependencies from PyPI with:

    1. pip install Scrapy

    Usage

  5. To run the crawler(spider):

    1. scrapy crawl -o alibaba.csv product_crawler