4 ms·
FWIW I don't believe this would be overly convoluted in scrapy. I'd probably scrape the tags and quotes in one pass... Also, generator expressions would make t
by bbernoulli 9y ago
FWIW I don't believe this would be overly convoluted in scrapy. I'd probably scrape the tags and quotes in one pass...
Also, generator expressions would make the examples more readable IMO.
self.extend((tag, QuoteMiner(self.geturl(href))) for tag, href in self.acc)
- iogf 9y agoI would like to see that in scrapy. I think you may have a point about the generators, yea.