跳转到内容

Ko Samet

  • Home
  • Blockchain
  • GOLANG
  • Javascript
  • English
  • Links

python https get

  • 发表于: 2023年3月24日 2023年3月24日
  • 分类: Python
import requests
from bs4 import BeautifulSoup

url = 'https://www.google.com/'
proxies = {
    'http': 'http://127.0.0.1:33210'
}

response = requests.get(url, proxies=proxies)
html = response.text

soup = BeautifulSoup(html, 'html.parser')
print(soup.get_text())

文章导航

前一页 上一篇: node Promise async/await
后一页 下一篇: Solidity upgradeable storage slot

admin

1011RSS订阅
  • git push 简化
  • 关闭开盖自动开机功能
  • Ubuntu安装nginx
  • css3 media 模版
  • ffmpeg视频护眼处理

© 2025  Ko Samet. 由 WordPress 强力驱动. WordStar, 主题由Linesh Jose提供