title: XPath expression can't extract mailto: attribute
body: <p>I'm using this XPath for getting the text() that follows mailto:</p>
  
  <pre><code>//a[starts-with(@href, 'mailto')]/text()
  </code></pre>
  
  <p>Now I want to be able to extract what comes <em>after</em> <code>mailto:</code> for such attribute:</p>
  
  <pre><code>&lt;a href="mailto:info@info.com?subject=hello"&gt;here&lt;/a&gt;
  </code></pre>
  
  <p>I want to get: <code>info@info.com?subject=hello</code></p>
  
  <p>What XPath should I be using to get the string just after the mailto:?</p>
  
  <p>Edit: seems that the mailto: is being generated using javascript.
        Can scrapy handle such thing?</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
   &lt;!--
   var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
   var path = 'hr' + 'ef' + '=';
   var addy54802 = '&amp;#105;nf&amp;#111;' + '&amp;#64;';
   addy54802 = addy54802 + 'zl&amp;#97;ng&amp;#111;' + '&amp;#46;' + 'c&amp;#111;m?s&amp;#117;bj&amp;#101;ct=C&amp;#97;r&amp;#101;&amp;#101;r%20&amp;#97;t%20Zl&amp;#97;ng&amp;#111;';
   var addy_text54802 = 'here';
   document.write('&lt;a ' + path + '\'' + prefix + ':' + addy54802 + '\'&gt;');
   document.write(addy_text54802);
   document.write('&lt;\/a&gt;');
   //--&gt;\n &lt;/script&gt;
  </code></pre>
  
  <p>Solution: I think I should be using Selenium for javascript. </p>