Metadata-Version: 2.1
Name: ruten_crawler
Version: 0.0.5
Summary: A crawler for product information of sellers on Ruten.
Home-page: https://github.com/jn8029/ruten_crawler
Author: jn8029
Author-email: warren.y.cheng@gmail.com
License: UNKNOWN
Description: # Ruten Seller Product Parser
        ![PyPI version](https://img.shields.io/pypi/pyversions/rutencrawler.svg)
        ![PyPI license](https://img.shields.io/pypi/l/rutencrawler.svg)
        
        
        
        This is a repository that offers a ProductCrawler class to crawl Ruten web pages for the product information in json format.
        
        ```
        from Crawler import ProductCrawler
        product_crawler = ProductCrawler(seller_id = "hambergurs")
        results = product_crawler.get_crawl_result()
        ```
        
        ## Installation
        To install [this verson from PyPI](https://pypi.org/project/ruten_crawler/), type:
        ```
        
        pip install rutencrawler
        
        ```
        
        To get the newest one from this repo (note that we are in the alpha stage, so there may be frequent updates), type:
        
        ```
        
        pip install git+git://github.com/jn8029/ruten_crawler.git
        
        ```
        ## Overview
        
        ```class ProductCrawler``` class handles the whole web crawling logic.  It takes optional arguments of ```sleep_time``` and ```sleep_at_each_iteration```
        
        ```class ProductPageParser``` handles the product page information extraction. Currently the parser only extracts shipping information, urls for images and the title of the product. More info can be extracted and the logic can be added here.
        
        ```class ProdcutListParser``` handles the parsing of product list page. The main function is to extract a list of product urls at each page, and then the urls are then used to parse product information with ProductPageParser
        
        ## To-do
        
        * add more error-proof exception handlers in ProductCrawler due to the multi-threaded nature of the process.
        * add more product info extraction features in ProductCrawler, e.g. price, remaining time, description, etc.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
