Hi everyone!
GitHub of the Project
While I was coding a paid-project from my freelancer career. There was the need to get news from certain topics. I have searched and discovered that there are few solutions for this particular problem. So, this is the reason that I have created this package.
It's pretty simple to use, in which you need to only define the class and call for the method run (async/await)
Example taken from the folder 'example/basic' at the github page.
const { GoogleNews } = require('@vorlefan/google-news') const news = new GoogleNews(['One Piece', 'Kingkiller Chronicles'], { routeName: 'download', language: 'en-US', localization: 'US', route: (route) => { route.set('src', __dirname) route.inject('download', 'src') console.log(route.get('root').filepath) }, }) void (async function () { await news.run() })() If you are creating a web-app, SaaS or whatever that needs to crawler the most recent news from certain topic, this is for you :)
There a lot of feature that I'm planning for this module, then if you want to, please contribute or follow up the news xD
Top comments (0)