title: Download a full page with scrapy
body: <p>I want to download the content a whole page using scrapy. </p>
  
  <p>With selenium this is quite easy:</p>
  
  <pre><code>import os,sys
  reload(sys)  
  sys.setdefaultencoding('utf8')
  from selenium import webdriver
  
  
  url = 'https://es.wikipedia.org/wiki/Python'
  
  driver = webdriver.Firefox()
  driver.get(url)
  content = driver.page_source
  with open('source','w') as output:
      output.write(content)
  </code></pre>
  
  <p>But selenium is much slower than scrapy.</p>
  
  <p>Is it an simple way to do in scrapy?</p>
  
  <p>I want to save the code of each page in a different file text, not as a csv or json file.  Also, if posible without creating a project, which seems a bit of overkill for such a simple task.</p>