xpath学习

xpath比我想象的要强大

  1. 多重属性筛选//tag[@attr0][@attr1]:
    response.xpath('//embed[@type="application/x-shockwave-flash"][@width>200]/@width')

评论

暂无评论