surf icon indicating copy to clipboard operation
surf copied to clipboard

browser.Body() Error, replace with Text()

Open nilsocket opened this issue 7 years ago • 0 comments

Open this page, link := https://player.vimeo.com/video/244405542/config assuming, bow := surf.NewBrowser(); bow.Open(link); res := bow.Body()

In here res is parsed wrongly, it's better to make bow.Body() return doc.Find("body").Text()

Edit: This works only for this document and for other documents it seems to include the rest of body element. Problem in parsing is with the double quotes for video->embed_code object

Thank you

nilsocket avatar Dec 03 '17 05:12 nilsocket