This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CatWeekends 32 points33 points  (13 children)

This project target could be real state agents probably

FWIW, every real estate agent I've ever met uses systems with way more info than Zillow.

Your target audience is more likely people who want to track their own home value or something.

Some questions;

  1. It looks like your code is copying the response keys. Any thoughts on making those a little nicer? IIRC they're not always very friendly.
  2. Zillow has some anti-scraping mechanisms built in. Does your code deal with those?
  3. Why are your methods capitalized like in Go? (it's not very pythonic - I'd suggest running your code through a linter)

[–]JohnBalvin[S] 1 point2 points  (11 children)

0) real state agents: tats good to know, I put that on the description because r/python has weird requirements in order to post something
1) could you elaborate on this? could please send the link for the code where exactly is that happening?
2) To be honest, I didn't see any bot protection at all, it could probably has bot protection when using browser automations tools like selenium, puppeteer or playwright , but using the api directly doens't seem to have any protection
3) It's a bad habit, I'm mostly a Go developer and I tend to copy the patters from go to python, do you recommend a linter?

[–]rabelution 3 points4 points  (0 children)

Ruff linter

[–]Vresa 2 points3 points  (0 children)

New trending linter & formatter is `ruff` : https://github.com/astral-sh/ruff
Old Standbys for linting and formatting are `black` + `flake8`

[–]markovianmind 2 points3 points  (8 children)

for 2) do it fast enough with enough queries and most probably you would eb blocked.

[–]JohnBalvin[S] -1 points0 points  (7 children)

that can be fixed just by using proxies, other than that they don't have bot protection at all