videocamWeb Data Extraction Summit - September 30th, 2021.
Join some of the greatest minds in web scraping to educate, inspire, and innovate.
Register for free!
Start a new topic
Answered

bad_proxy_auth with curl and python requests

 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




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

1 Comment

Answer

Hi Jose,


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


Regards,

Thriveni

Login to post a comment