tomslee / airbnb-data-collection

Data collection for Airbnb listings.
MIT License
478 stars 183 forks source link

Error json "returning None" #11

Closed clairebqt closed 7 years ago

clairebqt commented 7 years ago

Hi, Usually the script works very well, but now I have this error at every pages scrape and 0 room in database:

Searching 'Private room' (1 guests, prices in [60, 80]), zoom 0
2017-01-16 15:29:47,996 INFO    Page 1...
2017-01-16 15:29:49,728 ERROR   Error in __listing_from_search_page_json: returning None
2017-01-16 15:29:49,728 ERROR   Error in __listing_from_search_page_json: returning None
2017-01-16 15:29:49,729 INFO    Private room (1 guests): zoom 0: 0 new rooms, 1 pages

Do you have an idea what may cause the issue?

Thank you Claire

tomslee commented 7 years ago

Hi Claire: Can I ask if you are using the current code? I have had to make some changes recently and may have introduced this problem, but I think it is a solved one (not sure though). If you are on the most recent:

clairebqt commented 7 years ago

I thought using the current code, I download the code again and it works well with the command -sb