Skip to content

Commit

Permalink
tweaked web scraping recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 29, 2012
1 parent 9d7fabc commit b047b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -738,7 +738,7 @@ sense for a standalone parser.
say 'Heading: ', shift->all_text;
});

# Visit all children to extract more than just text
# Visit all elements recursively to extract more than just text
for my $e ($tx->res->dom->find('*')->each) {

# Text before this element
Expand Down

0 comments on commit b047b50

Please sign in to comment.