bad_proxy_auth with curl and python requests

Posted over 6 years ago by Avantia Marketing Solutions

Post a topic
Answered
A
Avantia Marketing Solutions

 Linux mint + python 3.6 + request 2.9.10


Curl:

curl -vx proxy.crawlera.com:8010 -U apikey: http://httpbin.org/ip


Requests:


 

url = "https://www.idealista.com/inmueble/2078455/"

proxy_host = "proxy.crawlera.com"

proxy_port = "8010"

proxy_auth = 'apikey:'

 

r = requests.get(url, proxies=proxies,verify=False)

In all case we hava the same error.


We try:


Change our apikey in account area.

Use ca certificate in CURL and Requests.

Use pycurl


Thanks


José Miguel



0 Votes

thriveni

thriveni posted over 6 years ago Admin Best Answer

Hi Jose,


Please use the Crawlera API key(found in the setup Instruction of Crawlera Account) and not the Account API.


Regards,

Thriveni

0 Votes


1 Comments

thriveni

thriveni posted over 6 years ago Admin Answer

Hi Jose,


Please use the Crawlera API key(found in the setup Instruction of Crawlera Account) and not the Account API.


Regards,

Thriveni

0 Votes

Login to post a comment