GithubHelp home page GithubHelp logo

jamiewanderi / alibaba-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scrapehero/alibaba-scraper

0.0 1.0 0.0 14 KB

A scrapy spider to extract the following fields from any search result page of alibaba.com.

Home Page: https://www.scrapehero.com/scrape-alibaba-using-scrapy/

Python 100.00%

alibaba-scraper's Introduction

Scrape Alibaba.com search results using Scrapy

A scrapy spider to extract the following fields from any search result page of alibaba.com. For example https://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&CatId=&SearchText=headphones

Fields

The scraper will extract the following fields

  • Product Name
  • Price Range (in US dollars)
  • Minimum Order
  • Seller Name
  • Seller Response Rate
  • Number of years as a seller on Alibaba -Transactional Level

Requirements

  • Python 3
  • Scrapy

Running the Scraper

  1. Add search keyword to keywords.csv
  2. Run command scrapy crawl alibaba_crawler -o out.csv -t csv to get data as CSV into a file called out.csv or scrapy crawl alibaba_crawler -o out.json -t json to get data as JSON File.

Sample Output

product_name product_price minimum_order seller_years_on_alibaba seller_name seller_response_rate transaction_level product_link search_text
high quality wireless bluetooth headphone bluetooth sport wireless with mic US $4.90-$5.40 500 Pieces 1 YR Shantou City Liangying Industrial Ltd. 97.40% 2 https://www.alibaba.com/product-detail/high-quality-wireless-bluetooth-headphone-bluetooth_60774817269.html headphones
RadioEar B71W bone conduction headphones for audiometer, B71W Bone Transducer Headset US $275.00-$290.00 1 Piece 6YRS Guangzhou Melison Medical Instrument Co., Ltd. 87.00% 1.5 https://www.alibaba.com/product-detail/RadioEar-B71W-bone-conduction-headphones-for_805556758.html?s=p headphones
SODO Flip Speaker Headphone Wholesale OEM Over Ear Sport Mobile Bluetooth Wireless Headphone US $18.80-$25.00 4 Pieces 4YRS Shenzhen Ditmo Electronic Technology Co., Ltd. 92.70% 3 https://www.alibaba.com/product-detail/SODO-Flip-Speaker-Headphone-Wholesale-OEM_60740074052.html?s=p headphones
August over ear bluetooth wireless stereo headphones with EQ APP Control Bass Rich Sound Headset with NFC/aptX-LL US $23.20-$29.76 10 Pieces 1 YR Shenzhen August Digital Ltd. 0 https://www.alibaba.com/product-detail/August-over-ear-bluetooth-wireless-stereo_60815054687.html?s=p headphones
LED light silent disco headphones RF-309 US $10.00-$30.00 100 Pieces 13YRS Shenzhen Go-On Electronics Co., Ltd. 77.90% 0.5 https://www.alibaba.com/product-detail/LED-light-silent-disco-headphones-RF_1316830410.html?s=p headphones

Learn more about the scraper

You can read more on how this scraper was built here https://www.scrapehero.com/scrape-alibaba-using-scrapy/

alibaba-scraper's People

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.