lewisdonovan / google-news-scraper

Lightweight scraper for Google News
Other
242 stars 62 forks source link

Pretty Url doesn't work #63

Open flitzcore opened 6 days ago

flitzcore commented 6 days ago

Thanks for the library. I have a question, I create a simple:

  async scrapGoogleNewsWithGoogleNewsScraper(query: string) {
    const articles = await googleNewsScraper({
      searchTerm: query,
      prettyURLs: true,
    });
    return articles;
  }

But I still get ugly url in the link. I use Node.js v20.18.0 and "google-news-scraper": "^2.7.0".