extract elements from a html page
问题 I download some youtube comment page and I want to extract username(or user display name) and the link like from the following code block: <p class="metadata"> <span class="author "> <a href="/channel/UCuoJ_C5xNTrdnc4motXPHIA" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CKG174zFqbQCFZmaIQodtmyE0A%3D%3D" dir="ltr">Sabil Muhammad</a> </span> <span class="time" dir="ltr"> <a dir="ltr" href="http://www.youtube.com/comment?lc=S2ZH2gSPYaef43vTRkLDxUzo2fYicVUc3SFvmYq2jrs"> il y a 1