MatthewMueller/cheerio — Issue #18: Cheerio versions > 0.3.0 fail when trying to get access to selectors nested two or more levels deep.
Author: ccarollo
Created: 2011-12-19 20:21:14+00:00
State: open

Hi Matthew,

First off, really like Cheerio. Great work! Fast and easy to use. We are using it heavily and have been able to develop quickly with it.

However, since 0.3.0 we are no longer able to get to nested divs that are two or more levels deep and render additional data in those elements. Here is an example.

I have template that looks like the following:

Keep

When I try to do something like the following it used to work and now it fails.

template = get('games.html');
$ = gamefly.cheerio.load(template);
$('.ttl').text("Call of Duty");

This appears to fail starting with 0.3.1. Any ideas?

Thanks
Christian