Well,it may be related to the quotation, I tried to use " 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 ' to enclose the urls.
@LancelotHolmes it works because there is nothing to escape in these URLs; these URLs work without quotes in linux as well. But in linux the example start to fail as soon as user changes URL to another URL, with GET arguments, because & has special meaning in shell. So we used quotes in tutorial to promote good practices.
It seems escaping in windows shell is more tricky; there is no equivalent for unix single quotes. According to http://ss64.com/nt/syntax-esc.html percent character still needs to be escaped, even if it is inside quotes. On the other hand, unlike bash, & char is not a problem under Windows.
When I try the sample code of scrapy tutorial in Creating a project,
Extracting data,after type
I got a exception like
and my operating system is windows with python 2.7
The text was updated successfully, but these errors were encountered: