Coder Social home page Coder Social logo

carnotify's Introduction

CarNotify

CarNotify is a simple script that is used to track cars on https://olx.ba website and inform about price changes on email. You don't need any database for it, it saves data in file that commits itself on each run.

At this stage it will inform you about new products, deleted products and products for which prices have changed.

Modification

This project doesn't have any license and I don't take any responsibility on the way it is used. I don't have to be credited, you can do whatever you like with it. With that said, here is the way to use it and modify it for your own needs.

  1. Fork the project
  2. Clone your fork
  3. Add following secrets to your project:
  • USER_EMAIL - current email that you use for GitHub (needed for self commit)

  • EMAIL_PWD - password for this email

  • USER_USERNAME - current username that you use for GitHub

  • SENDING_EMAIL - Email address from which email will be sent

  • SENDING_EMAIL_PASSWORD - Password for this email If you are using gmail as a sending email make sure to disable all security :D (If you are ready to do this, you need to enable less secure apps and remove reCaptcha

  • RECEIVING_EMAIL - Email address to which you want to receive email

  1. Change url in scraper.py to whatever your search criteria is
  2. You might want to change text of words in get_email_body() method in helper_methods.py, but you don't have to. (You will just get updates which will indicate that it is update about cars, even though it might not be.)
  3. Uncomment and change cron expression in scrape.yml to accomodate your needs. I usually use this website to get cron expression for my needs

Don't forget that you have 1000 minutes of free execution time monthly on GitHub, so don't overdo it.

carnotify's People

Contributors

emiride avatar

Stargazers

Semsudin avatar Faris Čaušević avatar

Watchers

James Cloos avatar  avatar

Forkers

semsuddin misamba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.