Python刮靓汤输出到前

2024-06-05 22:24:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我想以一个博客为例。。。www.forbes.com/sites/zillow然后用下面的输出(如果可能的话用csv格式)在所有页面上搜索内容

link = http://www.forbes.com/sites/zillow/2012/09/14/underwater-and-under-40-a-list-of-the-top-u-s-metros/
title = Underwater and Under 40: A List of the Top U.S. Metros
inlinks = #list the links in the article
picture = #list eider the number of pictures or their links
wordcount = #if this is possible
Views = #in the html of the page there is a span div tag with the number of views

任何帮助都将不胜感激

这就是我目前所拥有的。。。更新

^{pr2}$

Tags: andofcsvtheincomnumberis