tomslee / airbnb-data-collection

Data collection for Airbnb listings.
MIT License
477 stars 184 forks source link

get() takes exactly 1 argument (6 given) #51

Open Husamui opened 5 years ago

Husamui commented 5 years ago

INFO:root:---------------------------------------------------------------------- airbnbcollector | INFO:root:Room 14006298: getting from Airbnb web site airbnbcollector | ERROR:root:Network request exception: type TypeError airbnbcollector | Traceback (most recent call last): airbnbcollector | File "/airbnb_ws.py", line 83, in ws_individual_request airbnbcollector | headers=headers, cookies=cookies, proxies=proxies) airbnbcollector | TypeError: get() takes exactly 1 argument (6 given)

Any thoughts?

tomslee commented 5 years ago

I don't recognise the log format output.

The line nearest to 83 that has a "get" call is this one:

    response = requests.get(url, params, timeout=timeout,
                            headers=headers, cookies=cookies, proxies=proxies)

I wonder if you have a mixed up source? The current version ("python airbnb.py -V") is 3.6. Can you tell me what you see?