Skip to content

A backend application that fetches data from eBay and parses it giving statistics about a product.

Notifications You must be signed in to change notification settings

HeflerDev/Smart-Price-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KScrapper web Scrapper

Scrapper Logo

This is the Capstone project of Ruby Section

Request Feature

Contents

About the Project

The objective of this project is to create a scraper developed in Ruby, so I focused the program to scrap prices of things in e-bay, those things can be whatever you want to type in the program searcher. Thanks to TTY_Prompt I was able to make a more user-friendly program.
As all capstone projects In microverse, the due time is 3 working days, but I will continue working on it afterwards because it turned out to be something really interesting.

Getting Started

To get a local copy up and running follow these simple steps :

  1. Clone or fork the repo [https://github.com/Kasuhira/Microverse-Project-Web-Scrapper.git]

  2. Ruby needs to be installed to run the code check here for further steps

  3. Navigate to the project's root folder and run:

    $ ruby /bin/main.rb
    

    for example:

    > $ ./bin/main.rb
    

    Note: The file should have executable permissions:

    > $ chmod +x bin/main.rb
    

    Or you can run it using the ruby command:

    > $ ruby bin/main.rb example.css
    
    

How to Use

Gattering Data

  1. When Executing the program this screen under will appear

  2. The "Search New" option will redirect you to a sub-menu, wich displays 'Fast Search' and 'Custom Search'.

    • Fast Search Is to search for keywords, without any aditional parameter
    • Custom search, wich Has not been implemented yet weill take parameters, like rating, views, pricing, etc. And apply to the search.

  3. The 'Access Databank' option leads to the data you will gatter In 'Search New', and will allow you to to a series of commands with the data you gathered.

  4. After you enter in the 'Fast Search', It will require an input of what you want to search(and can be bought), like the screen below.


  5. This Search must begin with a letter, if blank, special character and numbers in the beginning will return an error and ask to type again.
    After an valid search is typed, it will return a number of results.



  6. In the screen above, the search will be displayed in n itens, each one displays:
    • Name of the product
    • Status (if it's new or used)
    • The price or the average price
    • The price of the delivery
    • Some extra data that sometimes display how many bought or how many are watching it

  7. After every search the data is stored in temporary databanks to use in the 'Access Databanks' option

Using the Data

  1. To use the data select the 'Access Databank', it will open the screen :



  2. This screen displays 2 options:
    • Data Parsed will redirect you to options that will show all the data you gattered
    • The compute Data will lead to another screen that will ask for you to make one of three operations that are self-descriptive.

  3. The Final result is accumulative, all searchs you do along the program will show in the end as results.
  4. If you search for 'coffee cup' and select the 'Return Biggest Value' it will retrieve the most expensive item of the list and it's name, like the example above

    Similarly to the other example, if you compute the average, it will return the result above

Built With

Future Updates

This project will have future updates to enlarge the program usefulnes, like adding parameters, saving data permanently, multiple websites checkup, etc. The beta will be released feb/2/2019.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project

  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)

  3. Commit your Changes (git commit -m 'Add some AmazingFeature')

  4. Push to the Branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

License

No licenses required as project was developed in educational eviroment.

Contact

Henrique Hefler - @hheflerdevelop1 - hheflerdevelopment@gmail.com

Acknowledgements

About

A backend application that fetches data from eBay and parses it giving statistics about a product.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages