摘要: 001.百度贴吧 # 是告诉操作系统执行这个脚本的时候,调用/usr/bin下的python3解释器; # !/usr/bin/python3 # -*- coding: utf-8 -*- """ 请求URL分析 https://tieba.baidu.com/f?kw=魔兽世界&ie=utf-8 阅读全文
posted @ 2020-07-16 17:25 水墨黑 阅读(1749) 评论(0) 推荐(0) 编辑
摘要: 1.代理服务器(中间人) # -*- coding: utf8 -*- import requests if __name__ == '__main__': url = "https://www.baidu.com" # 1.设置代理地址 proxy = '163.204.246.126:9999' 阅读全文
posted @ 2020-07-16 15:01 水墨黑 阅读(223) 评论(0) 推荐(0) 编辑