摘要: 原文:https://blog.csdn.net/sinat_38682860/article/details/82354342 Flask是一个轻量级的基于Python的web框架。 本文适合有一定HTML、Python、网络基础的同学阅读。 1. 简介 这份文档中的代码使用 Python 3 运 阅读全文
posted @ 2019-11-01 16:21 稚人 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/weixin_43891121/article/details/87989080 今天用BeautifulSoup解析页面时遇到了.string返回None的问题,待解析的源码如下: < a class =“bets-name” href="/sto 阅读全文
posted @ 2019-11-01 10:54 稚人 阅读(6036) 评论(1) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/my1e3/p/6657926.html 一、 查找a标签 (1)查找所有a标签 >>> for x in soup.find_all('a'): print(x) <a class="sister" href="http://example.c 阅读全文
posted @ 2019-11-01 10:25 稚人 阅读(3523) 评论(0) 推荐(0) 编辑