digital-engineering / airbnb-scraper

Airbnb Scraper: Advanced Airbnb Search using Scrapy
GNU General Public License v3.0
192 stars 66 forks source link

Invalid API Key #9

Closed essentialols closed 3 years ago

essentialols commented 3 years ago

I've looked for the API key under the title explore_tabs but that doesn't exist. I do find an API key under the search get request but it is the same API key everyone uses: d306zoyjsyarp7ifhu67rjxn52tv0t20

See here: https://stackoverflow.com/questions/45822440/airbnb-api-key-not-unique-per-user

When I run the scraper I get KeyError: 'dora' and when I enter the get request URL into my browser, I get the error {"errors":[{"message":"Response not successful: Received status code 400","locations":[{"line":1,"column":1}],"path":[],"extensions":{"response":{"statusCode":400,"body":{"error_code":400,"error":"invalid_key","error_message":"Invalid API key."}},"code":"Bad Request"}}],"data":{}}

If this doesn't mean that the API key is wrong (it shouldn't because everyone is using the same), then how can I fix this?