Rev 3232 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 25-Aug-2011@author: Varun Gupta'''from Scrapers.FlipcartScraper import FlipcartScraperfrom Scrapers.LetsBuyScraper import LetsBuyScraperfrom Scrapers.InfibeamScraper import InfibeamScraperfrom Scrapers.HS18Scraper import HS18Scraperfrom Scrapers.AdexmartScraper import AdexmartScraperdef getScraper(source):source = str(source).strip()if source == 'flipkart':return FlipcartScraper()elif source == 'letsbuy':return LetsBuyScraper()elif source == 'infibeam':return InfibeamScraper()elif source == 'homeshop18':return HS18Scraper()elif source == 'adexmart':return AdexmartScraper()