Giter VIP home page Giter VIP logo

yad2rss's Introduction

#Yad2 RSS API

##What? This project is aimed for those who're searching for an apartment and tired of refreshing Yad2 manually during the day.

##How? Sinatra server, Poltergeist and Capybara.

###Prerequisites PhantomJS >= 1.8

###Starting the server

bundle install
rackup

###Creating a feed: Go to Yad2, filter your ads using the search and copy the query parameter.

Your RSS feed will be constructed as follow:
http://localhost:9292/<ad_type>?<query_parameters>.

Where:

  • <ad_type> can be either rent or sales
  • <query_parameters> is the exact string that is yad2's query parameters

For example, the RSS url for this search is: http://localhost:9292/yad2/rent.rss?AreaID=&City=&HomeTypeID=&fromRooms=&untilRooms=&fromPrice=100&untilPrice=200&PriceType=1&FromFloor=&ToFloor=&EnterDate=&Info=

Use your favorite news reader to serve it. It is worth noting here that your news reader update rate should approximately match the amount of ads your yad2 search filters.

##Acknowledgement This project is based on @shaiguitar's old project that aimed to achieve the same goal.

yad2rss's People

Contributors

aroundafur avatar

Watchers

James Cloos avatar

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.