Open suntong opened 8 years ago
I need scrap something like this:
<div class="description">Something I want <div class="details">Something to ignore</div> </div>
I.e., I need to scrap the text only in class="description", but not in class="details", how to do it with goscrape?
class="description"
class="details"
goscrape
Further explanation.
Please refer to https://github.com/suntong/goscrape/issues/5 for the fix.
I need scrap something like this:
I.e., I need to scrap the text only in
class="description"
, but not inclass="details"
, how to do it withgoscrape
?Further explanation.
class="details"
into its own fields, so I don't want them again in theclass="description"
scraping any more.goscrape