【问题标题】:read some website content python阅读一些网站内容python 【发布时间】:2018-06-18 05:01:55 【问题描述】: 我想从此页面获取 - http://www.info.com/searchqcat=web&r_cop=search&cmp=3294&cb=13&qkw=google 一个或多个来自广告,如图: 【问题讨论】: 分享您的代码,以便我们为您提供帮助。 我没有:( 标签: python html web urllib 【解决方案1】: 您可以使用 Python 的内置模块 html.parser。您也可以使用 Beautiful Soup。 html.parser https://docs.python.org/3/library/html.parser.html 靓汤 http://web.stanford.edu/~zlotnick/TextAsData/Web_Scraping_with_Beautiful_Soup.html https://www.crummy.com/software/BeautifulSoup/ 【讨论】: