GithubHelp home page GithubHelp logo

viveckh / qarecewebcrawler Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 4.0 2.41 MB

This web crawler gathers the latest details, variations, imagery and pricing informations of a catalog of products given their urls from their corresponding online stores and prepares files ready for upload to your e-commerce platfrom. It was built with the purposes of making product additions easier for e-commerce retailers.

Home Page: https://www.qarece.com

Python 45.60% Jupyter Notebook 54.40%
e-commerce webscraper macys sephora kyliejenner startup-resources startup-code startups startup-template wordpress-plugin woocommerce-extension catalog qarece-web-crawler pricing-informations imagery scrapy ecommerce-retailers ecommerce-platfrom woocommerce find-products

qarecewebcrawler's Introduction

Qarece Web Crawler

Author: (EJ) Vivek Pandey / Sujil Maharjan / Arjun Bastola

Save hours spent on manually adding and updating products to your e-commerce site and do it in seconds!

This web crawler gathers the latest details, variations, imagery and pricing informations of a catalog of products given their urls from their corresponding online stores and prepares files ready for upload to your e-commerce platfrom. It was built with the purposes of making product additions easier for e-commerce retailers.

Supported Ecommerce Stores

  • Macys
  • Sephora
  • 6pm (Future Enchancement)
  • Amazon (Future Enhancement)

Output Files Customized for Platforms

  • Woocommerce (Default)

Important Notes

  • The internal category mapping, profit rates, and shipping rates are to be adjusted by you according to your business logic in the reference files located at product_scraper/product_scraper/reference_data folder. The current values are default placeholders.

Custom Enhancements for Your Business

This crawler prototype was initially built as per the needs of Qarece - New York. If you want a custom implementation or enhancement for your e-commerce business, reach out to the author at [email protected].

Development rates are on a hourly basis or project basis depending on your needs.

How to Run

  • Clone the Repo (Duh)
  • Make sure you have Python, Scrapy and Pandas installed in your system
  • Add the urls of products you want to crawl by going to /product_scraper/product_scraper/input/urls.txt. Check the supported e-commerce stores above.
  • Navigate back to the base of the scraper where the scrapy.cfg file is. cd /product_scraper
  • python setup.py
  • scrapy crawl products-spider
  • python clean-scraped-results.py
  • The output file to upload in woocommerce is ready at /product_scraper/product_scraper/output/Product-formatted-for-wp.csv. Run it twice, once in a new products import mode, and again in update mode to update existing products
  • The output file to hide products that are no longer available in market will be ready at /product_scraper/product_scraper/output/products_to_unpublish.csv. Run it once in update mode to hide products that exist in your catalog but are not available in the market anymore.
  • Any products that could not be crawled successfully with associated errors will be detailed in /product_scraper/product_scraper/output/errors.txt

TODO

  • An automated way to update catalog in woocommerce using output files without having to upload manually
  • An automated script to prepare urls.txt by exporting the catalog from woocommerce in csv, and making a list of product's market urls

qarecewebcrawler's People

Contributors

smaharj1 avatar viveckh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.