#ifndef SCRAPER_H #define SCRAPER_H #include int fetch_url(const char *url, char **out_buf, size_t *out_len); char *extract_title(const char *html, size_t len); /* Extract all and * Returns 0 on success and allocates *out with a newline-separated list * of "key: value" lines. Caller must free(*out). */ int extract_meta(const char *html, size_t len, char **out); /* Extract Open Graph tags (meta property="og:...") similarly. */ int extract_og(const char *html, size_t len, char **out); /* Extract the first