Skip to content

Commit 7f217af

Browse files
committed
proxy add htpps
1 parent 6cc06b8 commit 7f217af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python基础代码/技巧-使用代理请求网页.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818

1919
ss = requests.session()
20-
2120
ss.proxies = {'http': 'http://123.206.6.17:3128', 'https': 'http://123.206.6.17:3128'}
22-
2321
print(ss.get('http://www.qq.com'))
2422
print(ss.get('https://www.github.com'))

0 commit comments

Comments
 (0)