Git Product home page Git Product logo

Comments (7)

tomslee avatar tomslee commented on June 20, 2024 2

I've posted a new version, which needs a bit more user work to get started. I'm using an API that returns JSON instead of HTML and it seems more consistent (I cannot get the HTML code working at all), but you need to collect a key from the site and enter it in your config file -- there are instructions in example.config. See the README for more.

There may still be annoying bugs: as data collection is time sensitive I thought I would post the new version, but it is not well tested.

Not sure how long I'm going to continue this project...

from airbnb-data-collection.

tanjavollmer avatar tanjavollmer commented on June 20, 2024

Hey tjukanovt,

I got the same issue, running a search for Munich. However I also got the information that it's due to a connection error. Yet I don't know how to solve it. But I will research myself and also here are very helpful people around :-) Good luck!

INFO Retrieved logged progress: None, None guests, price None-None
INFO quadtree node []
INFO median node []
INFO Bounding box: [48.24822, 11.722875, 48.061602, 11.360796]
INFO ======================================================================
INFO Survey 2, for Muenchen
INFO Searching by bounding box, max_zoom=6
INFO ----------------------------------------------------------------------
INFO Rectangle calculated: [48.24822, 11.722875, 48.061602, 11.360796]
INFO Searching rectangle: zoom factor = 0, node = []
WARNING Network request exception 0: connectionError
WARNING Network request exception 1: connectionError
INFO Page 01 returned 00 listings
INFO Results: 1 pages, 0 new rooms
INFO Finishing survey 2, for Muenchen

from airbnb-data-collection.

tomslee avatar tomslee commented on June 20, 2024

Hi tjukanovt and tanjavollmer: I think I broke something for the case where there is no set of proxy addresses in use. Unfortunately I doubt that I will be able to look at the code again for a week or so. If I get time tomorrow I will see if I can put a fix out, but it seems unlikely right now...

from airbnb-data-collection.

tjukanovt avatar tjukanovt commented on June 20, 2024

Hi! Thanks both for the replies. I will also try to sort this out when I have a moment. Tom you suggest that a workaround would be to just use a proxy address?

from airbnb-data-collection.

tjukanovt avatar tjukanovt commented on June 20, 2024

Update: I added two proxy addresses to the config, but the results are even more weird. I run the same command as above, with the same bounding box, but get ten results from around the world and none of them are in Helsinki.
image

from airbnb-data-collection.

tanjavollmer avatar tanjavollmer commented on June 20, 2024

Hey tjukanovt.
I got the same issue here. When I run the survey without a proxy, I get no results. When I run the survey with a Proxy (-list) I get either ConnectionErrors or a mere result of one page with about 10 listings max. from everywhere but Munich.

Any ideas out there to solve this? Thanks :-)

from airbnb-data-collection.

tomslee avatar tomslee commented on June 20, 2024

At work right now, but I'll respond this evening (Canada time).

from airbnb-data-collection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.