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

Proxy Usage? #18

Open
johann929292 opened this issue Nov 15, 2021 · 4 comments
Open

Proxy Usage? #18

johann929292 opened this issue Nov 15, 2021 · 4 comments

Comments

@johann929292
Copy link

johann929292 commented Nov 15, 2021

Hello is there a working way to use proxies? Did not work for met yet. Great libary by the way! Greetings :)

@tejado
Copy link
Owner

tejado commented Nov 15, 2021

It is not directly integrated but ebk-client is using the "requests" library for connecting to the API endpoints, which can use standard environment variables for proxies or you can add it over code.
Here is the documentation for the proxy-specific part of requests: https://docs.python-requests.org/en/latest/user/advanced/#proxies

@johann929292
Copy link
Author

johann929292 commented Nov 15, 2021

Thanks for your quick replies! I tried that, but i get always this API error:

</style><title>Security Violation (503)</title>

api.ebay-kleinanzeigen.de | Access denied (403)

Current session has been terminated.

For further information, do not hesitate to contact us.

Ref: 2a0xxxxxx2e:2eb7:8c03:6063 1636994848

<script>document.getElementById("time").innerHTML = (new Date()).toISOString()</script>

The weird thing is that i use the same ips for my actual account on the webclient...So its probably the proxys?

@tejado
Copy link
Owner

tejado commented Nov 15, 2021

What proxy are you using? Is that a public one?

@johann929292
Copy link
Author

No, thats private ones which are usually pretty good. Havent found a solution yet unf. But im still trying. Will update once i fixed it

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

No branches or pull requests

2 participants