爬下来的i_item(即“movie_list”)的内容不全
我代码可以获取到页面信息,但 li 里面的序号啊,描述啊都无法获取
结果如下:
2019-06-28 18:43:50 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://movie.douban.com/top250> (referer: None)
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
<Selector xpath="//div[@class='article']//ol[@class='grid_view']//li" data='<li>\n <div class="item">\n '>
2019-06-28 18:43:50 [scrapy.core.engine] INFO: Closing spider (finished)
这个报错始终无法解决