You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

epricepy

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epricepy

This package alows the user to get selected e-commerce product's title and price as tuple according to the user's input url.

0.1
Maintainers
1

eprice-package

This package alows the user to get an e-commerce product's title and price as tuple according to the user's input url. The user shall then use the data scraped to track, compare or even real time track the prices without having to worry about scraping and cleaning the data.

List of e-commerce websites that can be requested through this package:

1.Amazon
2.Flipkart
3.Snapdeal
4.Alibaba
5.Reliance digital

Importing and using the package:

Additionaly it requires the following packages: 1.lxml 2.requests 3.beautifulsoup4

Importing and using the package:

from eprice_pkg import eprice

Title,Price=eprice.getAmazon(url)

Title,Price=eprice.getAlibaba(url)

Title,Price=eprice.getFlipkart(url)

Title,Price=eprice.getSnapdeal(url)

Title,Price=eprice.getReliancedigital(url)

NOTE: be aware of the region you request for because the functions retunrs the prices acording to the url the user searches for.

Source files

Thanks <3

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts