我正试图从这个页面http://freelegalconsultancy.blogspot.co.uk/
中获取关注者的数量,但似乎无法获取。我试过使用urllib
、urllib2
、urllib3
、selenium
和beautiful soup
,但没有成功地吸引追随者。下面是我的代码当前的样子:
import urllib2
url = "http://freelegalconsultancy.blogspot.co.uk/"
opener = urllib2.urlopen(url)
for item in opener:
print item
我该怎么做才能吸引更多的追随者呢?你知道吗
尝试使用
selenium
代码,如下所示:最后一行有点粗鲁,所以你可以随意更改
相关问题 更多 >
编程相关推荐