擅长:python、mysql、java
<p>非常感谢mertyildiran的帮助。在</p>
<p>皮屑对我不管用。有时它能上网,但大多数时候不上网。我不知道为什么。在</p>
<p>不管怎样,我最终得到的代码每次都很好。在</p>
<p>进口废料</p>
<p>类引号(痒。蜘蛛):
name=“快板”
起始URL=['<a href="http://allegro.pl/sportowe-uzywane-251188?a_enum%5B127779%5D%5B15%5D=15&a_text_i%5B1%5D%5B0%5D=2004&a_text_i%5B1%5D%5B1%5D=2009&a_text_i%5B5%5D%5B0%5D=950&id=251188&offerTypeBuyNow=1&order=p&string=gsxr&bmatch=base-relevance-aut-1-1-0913" rel="nofollow">http://allegro.pl/sportowe-uzywane-251188?a_enum%5B127779%5D%5B15%5D=15&a_text_i%5B1%5D%5B0%5D=2004&a_text_i%5B1%5D%5B1%5D=2009&a_text_i%5B5%5D%5B0%5D=950&id=251188&offerTypeBuyNow=1&order=p&string=gsxr&bmatch=base-relevance-aut-1-1-0913</a>']</p>
<pre><code>def parse(self, response):
for lista in response.css("article.offer"):
yield {
'link': lista.css('a.offer-title::attr(href)').extract(),
}
</code></pre>