300day(代理)

《2018年7月29日》【连续300天】

标题:代理;

内容:

https://blog.csdn.net/qq_32942549/article/details/79734739

看来别人的学习笔记:https://blog.csdn.net/jesszen/article/details/80940577

这里介绍一个付费代理:

讯代理:http://www.xdaili.cn/

一般网站会提供一个API来提取代理:
 

def crawl_xdaili(self):
    url="API"
    html =get_page(url)
    if html:
        result =json.loads(html)
        proxies =result.get('RESULT')
        for proxy in proxies:
            yield proxy.get('ip')+':'+proxy.get('port')

阿布云代理:https://www.abuyun.com/

其通过代理隧道来实现代理
使用教程:https://www.abuyun.com/http-proxy/dyn-manual-python.html

扫描二维码关注公众号,回复: 2777073 查看本文章

猜你喜欢

转载自blog.csdn.net/orangecloudy/article/details/81267368
300