duccioa / python-seloger Goto Github PK
View Code? Open in Web Editor NEWA simple Seloger.com wrapper
License: MIT No Attribution
A simple Seloger.com wrapper
License: MIT No Attribution
hello and thank you for this library , i did try to run the example code but it unfortunately crashes giving me the following error:
seems the research call is working but the parsing of the page isnt:
Valid response from http://www.seloger.com/list.htm?idtt=2&cp=75015&idtypebien=1&pxmax=500000&surfacemin=40&tri=d_dt_crea&nb_balconsmin=1
The search returned 43 results.
40 results in 2 pages will be processed.
Page 1 parsed
Traceback (most recent call last):
File "C:/Users/julien/PycharmProjects/deployMe/Realestate.py", line 13, in
for result in results:
File "c:\users\julien\pycharmprojects\deployme\venv\src\egg-name\SeLoger_init_.py", line 208, in get_results
params = self.get_current_parameters(False, page)
File "c:\users\julien\pycharmprojects\deployme\venv\src\egg-name\SeLoger_init_.py", line 131, in get_current_parameters
json_str = re.search('({.});ava.', page_data_str_minified).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Process finished with exit code 1
to get to this error i did run the example code you propose in your readme
from SeLoger import SeLogerAchat
from SeLoger import show_search_filters
show_search_filters()
search_criteria = {'cp': '75015', 'idtypebien': '1', 'pxmax': '500000', 'surfacemin': '40','tri': 'd_dt_crea', 'nb_balconsmin': '1'}
rent_paris = SeLogerAchat(search_criteria)
results = rent_paris.get_results(2, print_results=1)
ads = []
for result in results:
ads.append(result)
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.