from pyquery import PyQuery as pyq
doc = pyq(filename="459")
cts=doc('#M2 .cpCon ul li')
for item in cts:
print pyq(item).find('.cpPic img').attr("src"),pyq(item).find('.cpPic img').attr("alt")
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
必有卧槽