Add link extractor.
Actually return the last link.
Remove extra, redundant loop comprehension.
Fix up link_extractor
Merge branch 'master' into link_extractor
fix imports