SHARE
TWEET

feed43.com scraper za nepremicnine.net

davorinpavlica Jan 18th, 2016 (edited) 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Address
  2. http://www.nepremicnine.net/nepremicnine.html?p=1&n=1&t[]=6&t[]=7&t[]=8&t[]=9&t[]=10&t[]=43&t[]=36&r=14&ue[]=202&c2=174.000&m1=68&l1=68&s=16
  3. (naštimaš parametre iskanja na nepremicnine.net in pejstaš URL - za pravilno delovanje sortiraj po *datum vpisa*)
  4.  
  5. ## Extraction rules
  6.  
  7. # Global Search Pattern
  8. (pustiš prazno)
  9.  
  10. # Item (repeatable) Search Pattern
  11. <div class="oglas_container oglasbold{*}" id="{*}<h2><a href="{%}"{*}<span class="title">{%}</span></a></h2>{*}<a class="slika" href="{*}"><img src="{%}" /><div class="vec"></div></a>{*}<div class="atributi">{%}</div>{*}<div class="kratek">{%}</div>{*}<span class="velikost">{%}</span><br />{*}<span class="cena">{%} &euro;</span>{*}prodajalec_o" title="{%}"{*}<div class="clearer"></div>{*}</div>
  12.  
  13. ## RSS item properties
  14.  
  15. # Item Title Template
  16. {%2} - {%6} - {%7}
  17.  
  18. # Item Link Template
  19. {%1}
  20.  
  21. # Item Content Template
  22. {%2}<br />
  23. Cena: {%7}<br />
  24. Kvadrati: {%6}<br />
  25. {%4}<br />
  26. Opis: {%5}<br />
  27. {%8}<br />
  28. <a href="{%1}"><img src="{%3}" /></a>
  29.  
  30. Ostalo po želji
RAW Paste Data
Top