Created
September 25, 2017 07:17
-
-
Save ijharulislam/740ca55b6585f81d42cc22e1b2e3ccaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
est = su.find_all("div", class_="zestimate-value") | |
for es in est: | |
es_text = es.text | |
if "/mo" in es_text: | |
output["Rent Zestimate"] = es_text.replace("$","") | |
print(" RENT EST:", es_text.strip()) | |
else: | |
output["Zestimate"] = es_text.replace("$","") | |
print("ZEST EST:", es_text) | |
except Exception as e: | |
print("Zest Error", e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment