【发布时间】:2019-05-19 06:20:59
【问题描述】:
我正在像这样在 python 中使用数据发出 post 请求
select_req = req.post('https://www.example.com/payment/', data=data)
print(select_req.text)
这个输出
<iframe class="paymentFrame" src="https://www.google.com/hpp/pay.shtml" width="100%" height="400" scrolling="yes" frameborder="no"></iframe>
我要解析src链接并保存到parsed_link
print(parsed_link)
【问题讨论】:
标签: python-3.x parsing beautifulsoup