hadley/rvest — pull request #8 by renkun-ken (2014-09-13 02:47:03+00:00)
Title: fix demo due to webpage change

The demo `trpadvisor.R` seems not to work for me in the last line. All previous scraping lines works fine but `review` gets 19 elements instead of 10.

```rconsole
> data.frame(id, quote, rating, date, review, stringsAsFactors = FALSE) %>% View()
Error in data.frame(id, quote, rating, date, review, stringsAsFactors = FALSE) :
arguments imply differing number of rows: 10, 19
```

I visit the webpage and found that `.partial_entry` will not only select review but also their responses. As a result, `review` may have more than 10 entries (19 entries currently). `.entry .partial_entry` selector will fix the problem by only selecting reviews.