title: How to scrape url in Python using scrapy
body: <p>I want to extract URLs from a particular website using scrapy in python which has the following HTML structure</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="comic-table"&gt;
  &lt;div id="comic"&gt;
    &lt;img src="http://demowebsite.com/uploads/image1" alt="" title=""&gt;
    &lt;img src="http://demowebsite.com/uploads/image2" alt="" title=""&gt;
  &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>here is the scrapy code I have written:</p>
  
  <pre><code>import scrapy
  from scrapy.contrib.spiders import Rule, CrawlSpider
  from scrapy.contrib.linkextractors import LinkExtractor
  from Pencils.items import PencilsItem
  
  class Spider(CrawlSpider):
  name = 'pencil'
  allowed_domains = ['demowebsite.com']
  start_urls = ['http://demowebsite.com']
  rules = [Rule(LinkExtractor(allow=['/uploads/.*']), 'parse_pencil')]
  
  def parse_pencil(self, response):
  
      image = PencilsItem()
      rel = response.xpath("WHAT_SHOULD_I_PUT_HERE").extract()
      image['image_urls'] = ['http:'+rel[0]]
      return image
  </code></pre>
  
  <p>what Should I put in the response.xpath field.</p>
  
  <p>P.S I'm a beginner in HTML and Python</p>