Scrapy 0.9 Documentationhref='image1.html'>Name: My image 1and some image links: >>> hxs.select('//base/@href').extract() [u'http://example.com/'] >>> hxs.select('//a[contains(@href, "image")]/@href').extract() [u'image1.html', u'image2.html', u'image3.html'
Name: My image 2
Name: My image 3
Name: My image 4
Name: My image 5
0 码力 |
156 页 |
764.56 KB
| 1 年前
3













