摘要:
'''''' ''' pip3 install beautifulsoup4 # 安装bs4 pip3 install lxml # 下载lxml解析器 ''' html_doc = """ <html><head><title>The Dormouse's story</title></head> 阅读全文
posted @ 2019-06-21 19:14
啥玩意?
阅读(77)
评论(0)
推荐(0)
摘要:
'''''' ''' 破解极验滑动验证 破解极验滑动验证 博客园登录url: https://account.cnblogs.com/signin?returnUrl=https%3A%2F%2Fwww.cnblogs.com%2F 代码逻辑: 1、输入用户名与密码,并点击登录 2、弹出滑动验证,获 阅读全文
posted @ 2019-06-21 19:13
啥玩意?
阅读(89)
评论(0)
推荐(0)
摘要:
1.关于request的post请求: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 阅读全文
posted @ 2019-06-21 19:12
啥玩意?
阅读(77)
评论(0)
推荐(0)
摘要:
关于selenium选择器xpath的使用: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 阅读全文
posted @ 2019-06-21 19:12
啥玩意?
阅读(81)
评论(0)
推荐(0)
摘要:
''' ''' ''' 爬取梨视频: 请求url: https://www.pearvideo.com/ 请求方式: GET 请求头: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like G 阅读全文
posted @ 2019-06-21 19:11
啥玩意?
阅读(92)
评论(0)
推荐(0)
摘要:
笔记 定义函数的三种方式 ''' # # 无参函数 # # 不需要接收外部传入的参数 def foo(): print('from foo..') foo() # # # # # 有参函数 # # 需要接收外部传入的参数 def login(user, pwd): # print(user, pwd 阅读全文
posted @ 2019-06-21 19:10
啥玩意?
阅读(110)
评论(0)
推荐(0)
浙公网安备 33010602011771号