Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. {"title": []},
  2. {"title": ["Buffett Assails Money-Manager Fees as Berkshire Reports Profit Rise"]},
  3. {"title": []},
  4. {"title": ["Linus on Git and SHA-1"]},
  5. {"title": []},
  6. {"title": ["Machine Learning from scratch: Bare bones implementations in Python"]},
  7. {"title": []},
  8. {"title": ["The Future of Not Working"]},
  9. {"title": []},
  10. ...
  11.  
  12. def parse(self,response):
  13. for title in response.css('td.title'):
  14. yield {
  15. 'title' : title.css('a.storylink::text').extract(),
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement