r = requests.post(url, headers=headers, data=data, proxies={
"http": "http://APIKey:@proxy.crawlera.com:8011/",
"https": "http://APIkey:@proxy.crawlera.com:8011/",
},
verify='zyte-proxy-ca.crt'
is this right ?
Hello,
I have edited and masked the APIkey as this forum query is public and visible to all.
Please refer https://docs.zyte.com/smart-proxy-manager/integrations/python.html for a working sample of Python requests with Smart proxy manager integrations.
Regards,
Thriveni
ooooh sorry for this i was misstake
with my code did not work
async with httpx.AsyncClient(proxies="') as client:
and how to use with the httpx
there is no cleare python codee or ex you have ??
r = requests.post(url, proxies=proxies,headers=headers, data=data,cookies=cookies,verify='\zyte-proxy-ca.crt')
this work ?
proxies = {
"http": "http://:##############3@proxy.crawlera.com:8011/",
"https": "http://#################:@proxy.crawlera.com:8011/", }
"http": "http://#####################:@proxy.crawlera.com:8011/",
"https": "http://##############################:@proxy.crawlera.com:8011/", }
is the code like this must work ?
Yes, this should work.
Please be noted that, if you are sending custom cookies, you would have to pass the below header
sabri sabri
r = requests.post(url, headers=headers, data=data, proxies={
"http": "http://APIKey:@proxy.crawlera.com:8011/",
"https": "http://APIkey:@proxy.crawlera.com:8011/",
},
verify='zyte-proxy-ca.crt'
is this right ?
Hello,
I have edited and masked the APIkey as this forum query is public and visible to all.
Please refer https://docs.zyte.com/smart-proxy-manager/integrations/python.html for a working sample of Python requests with Smart proxy manager integrations.
Regards,
Thriveni
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstthriveni
Hello,
I have edited and masked the APIkey as this forum query is public and visible to all.
Please refer https://docs.zyte.com/smart-proxy-manager/integrations/python.html for a working sample of Python requests with Smart proxy manager integrations.
Regards,
Thriveni
sabri sabri
ooooh sorry for this i was misstake
sabri sabri
with my code did not work
sabri sabri
async with httpx.AsyncClient(proxies="') as client:
and how to use with the httpx
sabri sabri
there is no cleare python codee or ex you have ??
sabri sabri
r = requests.post(url, proxies=proxies,headers=headers, data=data,cookies=cookies,verify='\zyte-proxy-ca.crt')
this work ?
proxies = {
"http": "http://:##############3@proxy.crawlera.com:8011/",
"https": "http://#################:@proxy.crawlera.com:8011/", }
sabri sabri
proxies = {
"http": "http://#####################:@proxy.crawlera.com:8011/",
"https": "http://##############################:@proxy.crawlera.com:8011/", }
r = requests.post(url, proxies=proxies,headers=headers, data=data,cookies=cookies,verify='\zyte-proxy-ca.crt')
is the code like this must work ?
Bala Ravichandran
Yes, this should work.
Please be noted that, if you are sending custom cookies, you would have to pass the below header
-
Crawlera 503 Ban
-
Amazon scraping speed
-
Website redirects
-
Error Code 429 Too Many Requests
-
Bing
-
Subscribed to Crawlera but saying Not Subscribed
-
Selenium with c#
-
Using Crawlera with browsermob
-
CRAWLERA_PRESERVE_DELAY leads to error
-
How to connect Selenium PhantomJS to Crawlera?
See all 401 topics