Skip to content

This project will find the price of the product in the link that entered by user.

License

Notifications You must be signed in to change notification settings

yenicead/Find-Price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Description of the Project

This is a python script that gives price of the product in the url entered by user. The URL must belong to any product in the http://www.hepsiburada.com/ which is a Turkish online shopping website.

How to Run This Code

For Windows :

  • Create a txt file and copy all the code, paste it in the txt file and save it as a find_price.py file under C:\ directory.
  • To run the python code you need python so go to website : https://www.python.org/downloads/ download and install python.
  • After installation, open a command prompt (cmd) and enter like this:
    C:>Python34\python.exe C:\find_price.py

For Linux :

  • First, you need to check if python is installed. To learn it type :
    python --version
  • If it is installed then you will see a verion of python. Otherwise, you need to install it. For installation type :
    apt-get install python
  • You also need to install 'beautifulsoup4' library.
    pip install beautifulsoup4
  • After installation, you need to create a file 'find_price.py' via vim and copy the code, paste it then save this file.
    Then run the following code :
    python2.7 find_price.py

For Python2.x.x versions :

  • You need to change the 'input' to 'raw_input' otherwise you will get error.
  • Goto line 7
  • Change the 'input' with 'raw_input'. So it will look like:
    URL = raw_input('Enter an URL : ')

About

This project will find the price of the product in the link that entered by user.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages