Closed chris-aeviator closed 2 years ago
Using the module immoscrapy rather then the cli-Version might be a option?
import immoscrapy
import pandas as pd
immo_data = pd.DataFrame(immoscrapy.query('de','sachsen', 'chemnitz', 'HOUSE_BUY',price=900000))
immo_data.to_csv('out.csv')
ok good option - maybe this differs in your environment, but the condensed pandas output is not very valuable other than for a tech demo and I wondered why you chose to make this the main feature. Your comment helped and I'll close this.
EDIT: just realized you are not the author @Lama09 , thanks for providing this hint
I'm getting a tiny overview of the result table and would like to save the result into a CSV but cannot find any documentation about it.
UPDATE: actually adding
df.to_csv('out.csv')
inside cli.py: pretty_print makes this library useful - what do you do with the condesend table otherwise?