Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
minor #168 Update README.rst (benoitMariaux)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.0-dev branch.

Discussion
----------

Update README.rst

Because h2 tags do not have a .post class.

Commits
-------

6a04780 Update README.rst
  • Loading branch information
fabpot committed Feb 26, 2015
2 parents 65ab61e + 6a04780 commit f34a6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Extract data:
.. code-block:: php
// Get the latest post in this category and display the titles
$crawler->filter('h2.post > a')->each(function ($node) {
$crawler->filter('h2 > a')->each(function ($node) {
print $node->text()."\n";
});
Expand Down

0 comments on commit f34a6a8

Please sign in to comment.