From 4676ec9839de5db6d15fd5e23bd941e45c23acac Mon Sep 17 00:00:00 2001 From: Cullen Date: Fri, 24 Nov 2023 13:42:52 -0600 Subject: [PATCH] chore: remove test file --- test.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 8511ba6..0000000 --- a/test.py +++ /dev/null @@ -1,24 +0,0 @@ -from homeharvest import scrape_property -from datetime import datetime - -# Generate filename based on current timestamp -current_timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") -filename = f"HomeHarvest_{current_timestamp}.csv" - -properties = scrape_property( - location="8134 midway rd dallas tx 75209", - listing_type="pending", # or (for_sale, for_rent, pending) - radius=0.5 - # past_days=30, # sold in last 30 days - listed in last 30 days if (for_sale, for_rent) - - # date_from="2023-05-01", # alternative to past_days - # date_to="2023-05-28", - - # mls_only=True, # only fetch MLS listings - # proxy="http://user:pass@host:port" # use a proxy to change your IP address -) -print(f"Number of properties: {len(properties)}") - -# Export to csv -properties.to_csv(filename, index=False) -print(properties.head()) \ No newline at end of file