scalingexcellence / scrapybook

Scrapy Book Code

Home Page:http://scrapybook.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chapter 3 example pg 36-40

johnscrapetest87 opened this issue · comments

Hello Dimitrios,

was running some of the example problems in the scrapy shell...just wanted to know, did the web url
web:9312/properties/property_000000.html change its content or format relative to what is in the textbook on pg 36-37? When I ran some of the response.xpath ..... I get different answers than what the book has....for example>>> response.xpath('//*[@] [1]/text()').exctract returns now............

<bound method SelectorList.extract of [<Selector xpath='//*[@] [1]/text()' data=u'\n\xa3715.0pw'>]>

but the book has the same response returning just [u'\xa3334.39pw']

all of this is on page 37

i dont mind if the web page changed but wondered if there is an updated set of answers for the textbook........

thankks John

appreciate the help with the vagrant/windows10 bug....

appreciate the help with the vagrant/windows10 bug....

Welcome! :)

i dont mind if the web page changed but wondered if there is an updated set of answers for the textbook........

Seems like typo(s) to me (noticed 2) ;)

P.S. I mean that as far as I can see the book (page 37) is correct. They are typos in copy-paste or typing (at least on what you wrote above) :)