|
|
@@ -223,7 +223,7 @@ class MLSDATA:
|
|
|
if not search.county.capitalize() in self.counties: ### FIX for lower()
|
|
|
print("County " + search.county + " not regognized. Exiting")
|
|
|
else:
|
|
|
- print("Scanning for results in " + search.county + " using the " + self.mlstype.upper() + " database.")
|
|
|
+ print("Scanning for results in " + search.county + " using the " + self.mlstype.upper() + " database on: " + str(datetime.datetime.now()))
|
|
|
if self.mlstype == 'gmls':
|
|
|
list = self.gmlsparser(self.stringbuilder(search), search.county)
|
|
|
return list
|
|
|
@@ -386,6 +386,7 @@ if __name__ == '__main__':
|
|
|
|
|
|
# for county in ['Jackson']: ### FIX
|
|
|
for county in gmls.counties: ### FIX
|
|
|
+# mysearch = Search(county, type=['farm', 'house', 'land'], upper_price=100000) ### FIX
|
|
|
mysearch = Search(county, type=['farm', 'house', 'land'], upper_price=525000) ### FIX
|
|
|
mydata = gmls.getmlsdata(mysearch)
|
|
|
|
|
|
@@ -396,7 +397,7 @@ if __name__ == '__main__':
|
|
|
gmls.email()
|
|
|
|
|
|
print()
|
|
|
-print(str(len(gmls.new_listings)) + " new properties found!")
|
|
|
+print(str(len(gmls.new_listings)) + " new properties found! " + str(datetime.datetime.now()))
|
|
|
print()
|
|
|
for listing in gmls.new_listings:
|
|
|
print(listing.MLS, listing.address)
|