3 ms·
To me goquery seems more intuitive than scrape, may be because I am more familiar with jquery selectors syntax. Any reason why yhat guys (ericchiang) created S
by rdudekul 11y ago
To me goquery seems more intuitive than scrape, may be because I am more familiar with jquery selectors syntax.
Any reason why yhat guys (ericchiang) created Scrape (and not use say goquery)?
Can you make the matcher function in main.go go away with a simpler (more intuitive) interface/api/dsl?
- zippoxer 11y agoI agree. Reading the title, I thought scrape would offer something beyond HTML manipulation. The way that it is now, goquery provides easier and more familiar HTML manipulation.
- ericchiang 11y agoThis is a very small amount of boilerplate around the golang.com/x/net/html package. If you need the huge feature set of goquery, use that. But I find this pretty suitable for my day to day problems.