I'm working on Scrapy to crawl pages,however,I can't handle the pages with javascript. People suggest me to use htmlunit, so I got it installed,but I don't know how to use it at all.Dose anyone can give an example(scrapy + htmlunit) for me? Thanks very much.
To handle the pages with javascript you can use Webkit or Selenium.
Here some snippets from snippets.scrapy.org: