What would be the best method to extract the href value and anchor text from link?
Link href's could coded be pretty differently like:
href = " "
href = ' '
HREF = " "
HREF = http://
And anchor texts could contain images for example.
So how to extract both best? Images should be included in anchor if present.