Git Product home page Git Product logo

i_need_a_flat_to_rent's Introduction

Welcome to the script that will save your life!

Hey, have you ever had felt the pain of searching for that perfect flat in https://njuskalo.hr? When you find it it is too late. Someone else was pressing F5 faster than you and all that precious time wasted (not the ring here)

How to run this script

First you would need to have python installed of course. After that you will need to have pip installed.

  1. pip install beautifulsoup4
  2. pip install requests

After that you can just hit in the console: python2.7 main.py &

File constants.py

The file constants.py holds all the constants necessary for the script to run:

  1. PAGE: the page you would like to scrap. Make sure the page is ordering the results by newest
  2. FILE_LOCATION: the location of the file that will be used to store the latest item scanned
  3. FILE_NAME: the name of the file mentioned above
  4. SECONDS_TO_CALL_FUNCTION: how many seconds interval you would like to run the script (less seconds makes you have more concrete results - therefore being able to see ad first - but make sure not to bombard njuskalo website).

Disclaimer

I do not support the usage of this script to illegal activities. This script was made purely for academical purposes.

i'm a sign not a cop simpsons image

i_need_a_flat_to_rent's People

Contributors

charliebrowncharacter avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

akesegic

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.