-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.10.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Example:: | |
<a class="email" href="mailto:[email protected]">Email Us</a> | ||
</footer> | ||
|
||
Without nested loaders, you need to specify the full xpath (or css) for each value | ||
Without nested loaders, you need to specify the full Xpath (or CSS) for each value | ||
that you wish to extract. | ||
|
||
Example:: | ||
|
@@ -40,6 +40,8 @@ Example:: | |
# no need to call footer_loader.load_item() | ||
loader.load_item() | ||
|
||
You can nest loaders arbitrarily and they work with either xpath or css selectors. | ||
You can nest loaders arbitrarily and they work with either xpath or CSS selectors. | ||
If the specified XPath (or CSS) selector does not exist, it will return None. | ||
|
||
As a general guideline, use nested loaders when they make your code simpler but do | ||
not go overboard with nesting or your parser can become difficult to read. |