Python crawler ip agent problem

self.s = requests.session ()

-sharp 
-sharp 
proxyHost = "http-dyn.abuyun.com"
proxyPort = "9020"

-sharp 
proxyUser = "HH30H1A522679P8D"
proxyPass = "74EF13F061719736"

proxyMeta = "http://%(user)s:%(pass)s@%(host)s:%(port)s" % {
    "host": proxyHost,
    "port": proxyPort,
    "user": proxyUser,
    "pass": proxyPass,
}

self.proxies = {
    "http": proxyMeta,
    "https": proxyMeta,
}


 response=self.s.get("http://httpbin.org/ip",proxies=self.proxies).text

        print response  ip ip
    login_res=self.s.post(url=login_url,headers=self.headers,data=form_data,proxies=self.proxies).text   

my ip is blocked. I bought an Abu Yun agent, but I still can"t visit the website. I beg the gods for advice. Isn"t the ip I bought? Using Abu Cloud to request to return ip, what I printed out is not the same as that of this machine

Feb.28,2021

use the unblocked ip machine, use the proxy and no agent to test the link, respectively, to determine whether it is a proxy problem
if not, check the code of the request process
if the proxy cannot be used, check whether the agent is available or whether special header information is added.
if both are OK, but the blocked ip cannot use a proxy, which means that your actual ip will be detected.


your account needs to pay


visit https://httpbin.org/get?show_. through your agent to see if some agent-specific headers have been added by the agent


the agent is highly anonymous, but your code does not have headers, at all. The other server can immediately find out that you are a crawler

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38860-2c113.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38860-2c113.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?