使ってますscrapy 0.14
以下は私のコードです
start_urls = ['http://lakebagger.com/ur/']
def parse(self, response):
hxs = HtmlXPathSelector(response)
stores=hxs.select('//table[@id]//tr')
print len(stores)
tbodyの行(tr)にアクセスできません。代わりに、 ad行にしかアクセスできません。行にアクセスするにはどうすればよいですか?
前もって感謝します 。HtmlXpathSelectorがxpathを正確にランダーできないようです