All notable changes to this project will be documented in this file.
To update please run npm update google-news-scraper
- Added support for both ESM and CJS.
- Added TypeScript support.
- Integrated Rollup to make shipping easier.
- Added release action, to bump version and ship to NPM every time we push to
master
branch`.
To update please run npm update google-news-scraper
- index.js
- package.json
- Bump version
- README.md
- Include details of new
puppeteerHeadlessMode
config item.
- Include details of new
To update please run npm update google-news-scraper
- getArticleType.js
- Helper function to detect which type of article display is being used in the DOM (this helps with conditional DOM selectors to scrape the info).
- getTitle.js
- Helper function to enable scraping of titles for each different article type.
- CHANGELOG.md
- index.js
- package.json
- Bump version
- README.md
- Include details of new inputs and output
To update please run npm update google-news-scraper
- getArticleContent.js
- Enabled the scraping of the text content of an article (credit to anthonyfranc)
- getPrettyUrl.js
- Updated fetch-less version of prettyURLs (credit to anthonyfranc)
- CHANGELOG.md
- index.js
- Import and integrate the new functions
- Create config defaults
- Fix indentation
- package.json
- Bump major versions of Puppeteer, Babel and Jest
- Remove node-fetch
- README.md
- Include details of new config options
- General tidy-up