python scrapy shell exception: address "'http:" not found: [Errno 11001] getaddrinfo failed
<p>Actually it's a sample of scrapy tutorial in <strong>Extracting data</strong> of <a href="https://doc.scrapy.org/en/latest/intro/tutorial.html" rel="nofollow">scrapy</a>. Everything goes well until the sample of scrapy shell, when I type the command in Windows cmd:</p>

<pre><code>scrapy shell 'http://quotes.toscrape.com/page/1/'
</code></pre>

<p>I got an exception like</p>

<pre><code>twisted.internet.error.DNSLookupError: DNS lookup failed: address "'http:" not found: [Errno 11001] getaddrinfo failed.
</code></pre>

<p>Exception in thread Thread-1 (most likely raised during interpreter shutdown):</p>

<p>in detail it's like:
[<img src="https://i.stack.imgur.com/9RwwX.png" alt="scrapy shell exception]">
and I have searched the <code>stackoverflow</code> and find a similar problem like <a href="http://stackoverflow.com/q/35062932/6653189">question</a>
and one answer is try another terminal,and I tried the terminal of Pycharm but it fails with the same exception.</p>

<p>PS: I work on windows and Python 2.7.12, Anaconda 4.0.0 (64-bit)</p>

<p>I'm quite new to scrapy so any help is appreciated, thank you.</p>

<p>Well,it may be related to the quotation, I tried to use <code>"</code> to enclose the urls and it works, I do not know if this command differs in different OS since the original tutorial commmand code use the <code>'</code> to enclose the urls.</p>

<hr>

<p>I also post this issue on the scrapy and as @kmike said, it works well with <code>'</code> on other OS like (MAC and Linux or Unix) (<a href="https://github.com/scrapy/scrapy/issues/2325#issuecomment-253737415" rel="nofollow">github</a>)</p>

python shell scrapy