TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Web Scraping with C++

20 pointsby daolfover 2 years ago

3 comments

beached_whaleover 2 years ago
I was playing with gumbo several months ago and made a nicer C++ wrapper that allowed for some interesting ways of doing queries. It was fun playing with combining the predicates and optimizing the result type so that it did less work. <a href="https:&#x2F;&#x2F;github.com&#x2F;beached&#x2F;gumbo_pp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;beached&#x2F;gumbo_pp</a>
评论 #32942288 未加载
forgotpwd16over 2 years ago
It uses libcurl and gumbo (<a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;gumbo-parser" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;gumbo-parser</a>). Gumbo is apparently written in pure C99 (interestingly Curl is written in the even older C89 standard). Will&#x27;ve been more amusing if article was written considering that and used C99.
ncmncmover 2 years ago
The go-to reference for web scraping used to be weboob.