1. Transparent proxy ip
Transparent proxy ip is one of the most basic forms of proxy. It exposes your real ip address to the server, but hides the actual source of your request. With transparent proxies, you can access blocked websites, but can't completely hide your identity. Below is a simple Python code example showing how to access a website using a transparent proxy:
import requests
proxies = {
'http': 'http://username:password@transparent-proxy-ip:port',
'https': 'https://username:password@transparent-proxy-ip:port'
}
response = requests.get('https://example.com', proxies=proxies)
print(response.content)
2. Anonymous proxy ip
An anonymous proxy ip hides your real ip address and does not reveal the source of your request. This proxy ip is quite useful for anonymous browsing and crawlers to crawl data. By using an anonymous proxy ip, you can browse anonymously on the web and also avoid being recognized as a crawler by websites. Here is a simple sample code demonstrating how to use anonymous proxy ip in Python:
import requests
proxies = {
'http': 'http://anonymous-proxy-ip:port',
'https': 'https://anonymous-proxy-ip:port'
}
response = requests.get('https://example.com', proxies=proxies)
print(response.content)
3. High stash proxy ip
Compared to anonymous proxy ip, high stash proxy ip has stricter privacy protection. In addition to hiding your real ip address and the source of your request, a high stash proxy ip will also masquerade as a real user, making it impossible for the server to realize that you are accessing through a proxy. This kind of proxy ip is useful for users who need a high degree of privacy protection and for crawlers who act covertly. Below is a Python example showing how to make a web request using a high stash proxy ip:
import requests
proxies = {
'http': 'http://elite-proxy-ip:port',
'https': 'https://elite-proxy-ip:port'
}
response = requests.get('https://example.com', proxies=proxies)
print(response.content)