how to retrieve url from a html format in R? -


in website "http://www.amazon.com/logitech-910-002974-wireless-mouse-scrolling/dp/b007t1ctde/ref=sr_1_4?ie=utf8&qid=1396676617&sr=8-4&keywords=logitech+mouse"

i want retrieve link

"/product-reviews/b002hwrjbc/ref=sp_detail_page_cr_lnk" 

in

<a class="a-size-base" href="/product-reviews/b002hwrjbc/ref=sp_detail_page_cr_lnk">520</a> 

can me xpath? thank you!

are trying scrape amazon reviews? wrote package this in response another stackoverflow question.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -