#include "browse.h"
#include <stdio.h>
#include <stdlib.h>

int main() {
  char *query = "example";
  char *result = get_news(query);

  if (result) {
    printf("Result: %s\n", result);
    free(result); // Free the allocated memory for the result
  } else {
    fprintf(stderr, "Error: Failed to fetch news.\n");
  }

  return 0;
}