scrapy/scrapy — pull request #979 by jameysharp (2014-12-11 17:26:51+00:00)
Title: Save the lxml link subtree when extracting links.

Some crawler tasks require extracting additional information out of the
node subtree that the link URL came from. Recording the text contents of
the subtree isn't always enough.

Only LxmlLinkExtractor saves this context at the moment, because it's
not clear what the other types of link extractors should save.