Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Husamui opened this issue May 18, 2019 · 1 comment
Open

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

Husamui opened this issue May 18, 2019 · 1 comment

Comments

@Husamui
Copy link

Husamui commented May 18, 2019

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
Copy link
Owner

tomslee commented May 31, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants